14 lines
203 B
Bash
Executable File
14 lines
203 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
test -z "${DEBUG:-}" || {
|
|
set -x
|
|
}
|
|
|
|
tag=$(date +'%Y%m%d%H%M')
|
|
git commit --allow-empty -m "Release $tag"
|
|
git tag "v${tag}"
|
|
git push --tags
|
|
git push |