|
|
@ -17,7 +17,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-linux-amd64.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-linux-amd64.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
@ -53,7 +53,8 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-windows-amd64.tar.gz -C $DIST_DIR .
|
|
|
|
- command -v zip >/dev/null || (apt update && apt install -y zip)
|
|
|
|
|
|
|
|
- zip -9 -j -r "dist/um-windows-amd64.zip" $DIST_DIR
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: windows
|
|
|
|
GOOS: windows
|
|
|
@ -89,7 +90,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-darwin-amd64.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-darwin-amd64.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: darwin
|
|
|
|
GOOS: darwin
|
|
|
@ -131,7 +132,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-linux-amd64.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-linux-amd64.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
@ -143,7 +144,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-linux-arm64.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-linux-arm64.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: arm64
|
|
|
|
GOARCH: arm64
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
@ -155,7 +156,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-linux-386.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-linux-386.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: "386"
|
|
|
|
GOARCH: "386"
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
@ -167,7 +168,8 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-windows-amd64.tar.gz -C $DIST_DIR .
|
|
|
|
- command -v zip >/dev/null || (apt update && apt install -y zip)
|
|
|
|
|
|
|
|
- zip -9 -j -r "dist/um-windows-amd64.zip" $DIST_DIR
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: windows
|
|
|
|
GOOS: windows
|
|
|
@ -179,7 +181,8 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-windows-386.tar.gz -C $DIST_DIR .
|
|
|
|
- command -v zip >/dev/null || (apt update && apt install -y zip)
|
|
|
|
|
|
|
|
- zip -9 -j -r "dist/um-windows-386.zip" $DIST_DIR
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: "386"
|
|
|
|
GOARCH: "386"
|
|
|
|
GOOS: windows
|
|
|
|
GOOS: windows
|
|
|
@ -191,7 +194,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-darwin-amd64.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-darwin-amd64.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: darwin
|
|
|
|
GOOS: darwin
|
|
|
@ -203,7 +206,7 @@ steps:
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
- go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
--always)" -o $DIST_DIR ./cmd/um
|
|
|
|
- mkdir -p dist
|
|
|
|
- mkdir -p dist
|
|
|
|
- tar cz -f dist/um-darwin-arm64.tar.gz -C $DIST_DIR .
|
|
|
|
- tar -zc -C $DIST_DIR um | gzip -9 > "dist/um-darwin-arm64.tar.gz"
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: arm64
|
|
|
|
GOARCH: arm64
|
|
|
|
GOOS: darwin
|
|
|
|
GOOS: darwin
|
|
|
|