Choose a directory which is in your PATH
variable.
For example, in Linux and macOS:
/usr/local/bin
- a standard value in PATH
.~/bin
- but, remember to add $HOME/bin
to your PATH
.Navigate to that directory.
Then download the AutoTag script to it, as below.
e.g.
$ curl -O https://raw.githubusercontent.com/MichaelCurrin/auto-tag/master/autotag
To get a specific release, replace master
with a valid tag version for this project.
e.g.
$ curl -O https://raw.githubusercontent.com/MichaelCurrin/auto-tag/v1.2.0/autotag
Make it executable:
$ chmod +x autotag
$ chmod ug+x autotag
Navigate to another directory.
Test that the command can be found.
$ autotag --help
Follow the Upgrade command doc.