mirror of
https://github.com/moonshadow565/rman.git
synced 2026-02-04 05:56:26 +01:00
7 lines
160 B
Bash
Executable File
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
|