Files
actions-sync/script/release

14 lines
203 B
Plaintext
Raw Normal View History

2020-07-02 19:36:10 +01:00
#!/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