summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2020-08-18 21:09:03 -0400
committerLex Neva <github.com@lexneva.name>2020-08-18 21:14:02 -0400
commit1631428ae44465ee96b7a283d7fec8cde1a68d73 (patch)
tree981673b35925f9a4f944744cc80e9112727cc45d /bin
parentbe671f837f074ee70d51a182073dc7dc2bd9299f (diff)
v1.29.1 get rid of the ridiculous refs-tags thing
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-distribution-archives2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-distribution-archives b/bin/build-distribution-archives
index 9eb03b0c..6e11818d 100755
--- a/bin/build-distribution-archives
+++ b/bin/build-distribution-archives
@@ -1,6 +1,6 @@
#!/bin/bash
-VERSION="$(echo ${GITHUB_REF#refs/heads/} | tr / -)"
+VERSION="$(echo ${GITHUB_REF} | sed -e 's|refs/heads/||' -e 's|refs/tags/||' -e 's|/|-|g')"
OS="${BUILD:-$(uname)}"
ARCH="$(uname -m)"