Git Upm Publisher
Automate UPM package releases for Git repositories containing Unity plugins.
git-upm-publisher 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/git-upm-publisher.git README Markdown
Copy this to your project's README.md
## Installation
Add **Git Upm Publisher** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/git-upm-publisher.git
```
[](https://www.pkglnk.dev/pkg/git-upm-publisher)Dependencies (9)
README
git-upm-publisher-2
Continuation of the git-upm-publisher, which never worked as it was supposed to.
Written in Typescript this time.
Install
npm i -g git-upm-publisher
Make sure to delete the python version if you were using it:
pip uninstall git-upm-publisher
Usage
Navigate to the folder with the package.json, and run gup.
Command Line Parameters
| Parameter | Alias | Type | Description |
|---|---|---|---|
| --help | boolean | Show help | |
| --version | boolean | Show version number | |
| --remote | -r | string | Name of the remote where UPM package branch resides or will reside. Defaults to "origin". |
| --branch | -b | string | Name of the branch to publish the UPM package to. Defaults to "upm". |
| --force | -f | boolean | Disable checks and execute snapshot with force flag. |
| --noAuthor | -a | boolean | Disable overriding the commit author for auto-commits made by this tool. |
| --noPush | -n | boolean | Disable auto-pushing of the upm branch to the origin. |
| --noPull | -l | boolean | Disable pulling of the UPM package branch before and after the publishing process. |
| --noCommit | -c | boolean | Disable the auto-commit before publishing that includes the version change in the 'package.json'. |
| --package | -p | string | Skip searching and use this package.json path (must include 'package.json'). |
| --tagPrefix | -t | string | A prefix for the git tag. |
Licence
MIT license. Refer to the LICENSE file.
Copyright (c) 2020 starikcetin
No comments yet. Be the first!