We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0cc4a9 + 03436a9 commit 56a2960Copy full SHA for 56a2960
go.sh
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
2
# If there is already a version number don't make a new one.
3
-export TAG_VERSION=$(git tag --points-at HEAD)
+export TAG_VERSION=$(git describe --tags --abbrev=0)
4
if [[ -z "$TAG_VERSION" ]]; then
5
# Get the latest version for the repo
6
export CURRENT_VERSION=$(curl "https://api.github.com/repos/nullinside-development-group/nullinside-site-monitor/tags" | jq -r '.[0].name')
0 commit comments