1
0
Fork 0
mirror of https://github.com/Luzifer/github-publish.git synced 2024-12-20 18:01:22 +00:00

Restore variable order

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-07-10 12:53:31 +02:00
parent 7b9800a5df
commit e48574a06a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 8 additions and 8 deletions

View file

@ -1,2 +1,2 @@
05e4977d541b2ef07c757acca912b7b58b379fb425eceb3a1f53c829a78a4aa4 docker2aci.sh
05a1b2e610923d782078455a64ef0a6c32b1e2f21b1f1ee3a3bac0d5d1db6ee3 golang.sh
3bd53a160e3ccd6e88df65dfcdac20430f4c8918520d2ce34664094d976ef1b6 golang.sh

View file

@ -13,18 +13,18 @@ function step() {
echo "===> $@..."
}
VERSION=$(git describe --tags --always || echo "dev")
PWD=$(pwd)
godir=${PWD/${GOPATH}\/src\//}
REPO=${REPO:-$(echo ${godir} | cut -d '/' -f 3)}
GHUSER=${GHUSER:-$(echo ${godir} | cut -d '/' -f 2)}
ARCHS=${ARCHS:-"linux/amd64 linux/arm darwin/amd64 windows/amd64"}
BUILD_DIR=${BUILD_DIR:-.build}
DEPLOYMENT_TAG=${DEPLOYMENT_TAG:-${VERSION}}
PACKAGES=${PACKAGES:-$(echo ${godir} | cut -d '/' -f 1-3)}
BUILD_DIR=${BUILD_DIR:-.build}
DRAFT=${DRAFT:-true}
FORCE_SKIP_UPLOAD=${FORCE_SKIP_UPLOAD:-false}
GHUSER=${GHUSER:-$(echo ${godir} | cut -d '/' -f 2)}
godir=${PWD/${GOPATH}\/src\//}
MOD_MODE=${MOD_MODE:-}
PACKAGES=${PACKAGES:-$(echo ${godir} | cut -d '/' -f 1-3)}
PWD=$(pwd)
REPO=${REPO:-$(echo ${godir} | cut -d '/' -f 3)}
VERSION=$(git describe --tags --always || echo "dev")
go version