scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Automate updating the major version tag on `scala-cli-setup` to the latest release

Open Gedochao opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Whenever we release a new version of scala-cli, we have to manually update the major version tag on the VirtusLab#scala-cli-setup repo (0.1 as of writing this ticket) As we tend to accidentally skip this step and it's prone to error due to being manual toil, we should automate it.

Describe the solution you'd like The major version tag should get updated automatically on release.

Describe alternatives you've considered I mean, until we have time to fix this, we can keep toiling on it. Just make sure to double check it gets done when we deploy a new release.

Additional context The manual steps: (v0.1.15 as an example)

git fetch --all
git checkout origin v0.1.15
git tag -d v0.1 
git tag v0.1 
git push origin v0.1 -f  

Gedochao avatar Oct 06 '22 10:10 Gedochao