Skip to content

Commit 56a2960

Browse files
Merge pull request #24 from nullinside-development-group/feat/release
feat: updating tag pulling due to rate limiting
2 parents e0cc4a9 + 03436a9 commit 56a2960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
# If there is already a version number don't make a new one.
3-
export TAG_VERSION=$(git tag --points-at HEAD)
3+
export TAG_VERSION=$(git describe --tags --abbrev=0)
44
if [[ -z "$TAG_VERSION" ]]; then
55
# Get the latest version for the repo
66
export CURRENT_VERSION=$(curl "https://api.github.com/repos/nullinside-development-group/nullinside-site-monitor/tags" | jq -r '.[0].name')

0 commit comments

Comments
 (0)