Skip to content

Commit

Permalink
fix: the last tag must be annotated
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jul 18, 2018
1 parent e9b8be4 commit 806a70e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/drop_last_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
user=$GH_USER
token=$GH_TOKEN
repo=$(git config --get remote.origin.url | sed -E 's/^.+[\/:]([^/]+\/[^/]+.git)$/\1/')
tag=$(git describe --tags)
tag=$(git describe --abbrev=0 --tags)
dst=https://$user:$token@github.com/$repo

git remote add foobar $dst
Expand Down
2 changes: 1 addition & 1 deletion src/get_last_tag.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

echo $(git describe --tags)
echo $(git describe --abbrev=0 --tags)

0 comments on commit 806a70e

Please sign in to comment.