Skip to content
This repository was archived by the owner on Oct 15, 2019. It is now read-only.

Commit 957dde4

Browse files
committed
[master] Post commit hook updated.
1 parent 8f3b128 commit 957dde4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.18
1+
0.0.19

hooks/post-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
set -euo pipefail
33

44
if git show --pretty="" --name-only HEAD | grep -q VERSION; then
5-
git tag "v$(cat VERSION)"
5+
git tag --annotate --message="Version v$(cat VERSION)" "v$(cat VERSION)"
66
fi

install_hooks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ filepath=$(git rev-parse --show-toplevel)
44
pushd "${filepath}/.git" > /dev/null
55
rm -rf hooks
66
ln -s ../hooks .
7+
git config push.followTags true

0 commit comments

Comments
 (0)