diff options
Diffstat (limited to 'extra/git-version.sh')
| -rwxr-xr-x | extra/git-version.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/extra/git-version.sh b/extra/git-version.sh index 6530f43..7712b09 100755 --- a/extra/git-version.sh +++ b/extra/git-version.sh @@ -1,8 +1,8 @@ #!/bin/sh TAG=`git describe --abbrev=0 HEAD` -REV_SHORT=`git rev-parse --short HEAD` -REV_LONG=`git rev-parse HEAD` +# REV_SHORT=`git rev-parse --short HEAD` +# REV_LONG=`git rev-parse HEAD` cat <<EOF ---- @@ -13,15 +13,13 @@ cat <<EOF --- exports -- @table exports -- @tfield string tag the last versions git tag --- @tfield string rev_short the short git revision hash --- @tfield string rev_long the full git revision hash --- @tfield string repo the git repo URL -- @tfield string web the repo web URL +-- @tfield string repo the git repo URL +-- @tfield string release the web URL of this release { tag: "${TAG}" - rev_short: "${REV_SHORT}" - rev_long: "${REV_LONG}" + web: "https://github.com/s-ol/alivecoding" repo: "https://github.com/s-ol/alivecoding.git" - web: "https://github.com/s-ol/alivecoding/releases/tag/${TAG}" + release: "https://github.com/s-ol/alivecoding/releases/tag/${TAG}" } EOF |
