Files
tar1090/tag.sh
2025-06-19 08:29:36 +00:00

12 lines
255 B
Bash
Executable File

#!/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