Add release script
This commit is contained in:
parent
5584eb4d6b
commit
ba0770d65e
8
scripts/release.sh
Executable file
8
scripts/release.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user