diff options
| author | Ivar Refsdal <refsdal.ivar@gmail.com> | 2022-11-15 18:42:30 +0100 |
|---|---|---|
| committer | Ivar Refsdal <refsdal.ivar@gmail.com> | 2022-11-15 18:42:30 +0100 |
| commit | f3fc5f7ab037aba728bf376c087e466b2fbf12db (patch) | |
| tree | 7a81f9ee3f41b35704ee91bdd677636c6db4ddcd /release.sh | |
| parent | Release 0.2.61 (diff) | |
| download | fiinha-f3fc5f7ab037aba728bf376c087e466b2fbf12db.tar.gz fiinha-f3fc5f7ab037aba728bf376c087e466b2fbf12db.tar.xz | |
Release 0.2.62: Add function processing-time-stats
Diffstat (limited to 'release.sh')
| -rwxr-xr-x | release.sh | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,5 +1,10 @@ #!/bin/bash +if [[ $# -ne 1 ]]; then + echo "Illegal number of parameters" >&2 + exit 2 +fi + set -ex git update-index --refresh @@ -23,11 +28,9 @@ sed -i "s/HEAD/v$VERSION/g" ./README.md git add pom.xml README.md git commit -m "Release $VERSION" git reset --soft HEAD~2 -git commit -m"Release $VERSION -$MSG" +git commit -m"Release $VERSION: $1" -git tag -a v"$VERSION" -m "Release v$VERSION -$MSG" +git tag -a v"$VERSION" -m "Release v$VERSION: $1" git push --follow-tags --force clojure -X:deploy |
