mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 14:00:47 +02:00
Update tag and release scripts
This commit is contained in:
parent
e93852981a
commit
6c0dc53509
2 changed files with 27 additions and 1 deletions
7
tag.sh
7
tag.sh
|
|
@ -6,5 +6,12 @@ ROOT=$(pwd)
|
|||
cd $ROOT
|
||||
|
||||
VER=`cat VERSION`
|
||||
|
||||
# Check that the version exists in the Changelist.txt
|
||||
if ! grep -q "^${VER}:*$" Changelist.txt; then
|
||||
echo "Error: Version $VER not found in Changelist.txt"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Tagging [$VER]"
|
||||
git tag "$VER" && git push origin "$VER"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue