2022-09-29 14:55:38 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-01-19 20:37:24 +00:00
|
|
|
git pull --rebase
|
2022-09-29 14:55:38 +00:00
|
|
|
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
|
2022-10-10 17:30:57 +00:00
|
|
|
git push gitea main
|
|
|
|
git push gitea --tags
|