bugfix gitea, fix output for go alias

This commit is contained in:
AJ ONeal
2020-06-16 10:52:03 +00:00
parent 5e0debf4c5
commit 72062b452a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@ set -e
set -u
pkg_cmd_name="gitea"
WEBI_SINGLE=true
pkg_get_current_version() {
# 'gitea version' has output in this format:
+1 -1
View File
@@ -5,5 +5,5 @@
# description: |
# See https://webinstall.dev/golang
echo "'go@${WEBI_TAG:-}' is an alias for 'golang@${WEBI_VERSION:-}'"
echo "'go@${WEBI_TAG:-stable}' is an alias for 'golang@${WEBI_VERSION:-}'"
curl -fsSL https://webinstall.dev/golang@${WEBI_VERSION:-} | bash