diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-25 13:50:40 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-25 13:50:40 +0000 |
| commit | 42bea6ea126057e7b7db4256e34dd060d34b449c (patch) | |
| tree | d3384c49cf3df452b0f67d24ea92b69d43110767 /extra/git-version.sh | |
| parent | docs/internals/extensions rename (diff) | |
| download | alive-42bea6ea126057e7b7db4256e34dd060d34b449c.tar.gz alive-42bea6ea126057e7b7db4256e34dd060d34b449c.zip | |
docs: automatic release linking
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 |
