ci: fix file exist

This commit is contained in:
Unlock Music Dev
2022-11-27 07:50:04 +08:00
parent e7d360362e
commit 7637a91f71
2 changed files with 11 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ local StepGoBuild(GOOS, GOARCH) = {
commands: [
'DIST_DIR=$(mktemp -d)',
'go build -v -trimpath -ldflags="-w -s -X main.AppVersion=$(git describe --tags --always)" -o $DIST_DIR ./cmd/um',
'mkdir -p dist',
'tar cz -f %s -C $DIST_DIR .' % filepath,
],
};