Files
rman/make-release-remote.sh
2022-06-13 02:33:41 +01:00

7 lines
160 B
Bash
Executable File

#!/bin/bash
REMOTE=${1:-origin}
VERSION=$(git log --date=short --format="%ad-%h" -1)
echo "Version: $VERSION"
git tag $VERSION
git push --tags $REMOTE $VERSION