Add release script

This commit is contained in:
Fabian 2022-09-29 16:55:38 +02:00
parent 5584eb4d6b
commit ba0770d65e

8
scripts/release.sh Executable file
View File

@ -0,0 +1,8 @@
#!/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