mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
bugfix gitea, fix output for go alias
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user