fime/scripts/release.sh

9 lines
206 B
Bash
Raw Permalink Normal View History

2022-09-29 14:55:38 +00:00
#!/bin/bash
last_patch=$(git tag | sort -V | tail -n1 | cut -d "." -f3)
git tag "1.0.$((last_patch + 1))"
git push gitlab main -o ci.skip
git push gitlab --tags
git push origin main
git push origin --tags