rename version.sh to tag.sh

This commit is contained in:
Matthias Wirth
2025-06-19 08:29:36 +00:00
parent fb446f9138
commit 7fc005471a

11
tag.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
trap 'echo "[ERROR] Error in line $LINENO when executing: $BASH_COMMAND"' ERR
VERSION="3.14.$(( $(cat version | cut -d'.' -f3) + 1 ))"
echo "$VERSION" > version
git add version
git commit -m "incrementing version: $VERSION"
git push