- git commit -m "Release v..."
- git tag vx.y.z
- git push origin master --tags
# Cd to where you would like to clone to
$ git clone https://github.com/StatisticalRethinkingJulia/StatisticalRethinkingDHMC.jl
$ cd StatisticalRethinkingDHMC.jl
$ julia
and in the Julia REPL:
julia> ] # Actvate Pkg mode
(@v1.5) pkg> activate . # Activate pkg in .
(StatisticalRethinkingDHMC) pkg> instantiate # Install in pkg environment
(StatisticalRethinkingDHMC) pkg> <delete> # Exit package mode
julia>
If above procedure fails, if present, try to delete the Manifest.toml file and repeat above steps. As mentioned above, these steps are only needed the first time.
If you want to use a specific tagged version, use:
# cd to cloned directory and checkout a tagged version
$ git checkout v2.0.0