File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,13 @@ tasks:
5252 cmds :
5353 - rm -rf "{{.BIN_DIR}}/{{.APP_NAME}}"
5454 silent : true
55- tag :
55+ tar :
5656 deps : [artifacts]
57+ cmds :
58+ - cp {{.RELEASE_DIR}}/{{.APP_NAME}} {{.RELEASE_DIR}}/{{.APP_NAME}}-darwin-arm64
59+ - tar -czf {{.RELEASE_DIR}}/plan-"$(echo "$APP_VERSION" | cut -c2-)".tar.gz -C .build/release {{.APP_NAME}}-darwin-arm64 "Completions/"
60+ tag :
61+ deps : [tar]
5762 cmds :
5863 - git tag "$APP_VERSION"
5964 - git push origin "$APP_VERSION"
6368 deps : [tag]
6469 cmds :
6570 - /opt/homebrew/bin/gh auth status
66- - cp {{.RELEASE_DIR}}/{{.APP_NAME}} {{.RELEASE_DIR}}/{{.APP_NAME}}-darwin-arm64
67- - /opt/homebrew/bin/gh release create --generate-notes "$APP_VERSION" {{.RELEASE_DIR}}/{{.APP_NAME}}-*
71+ - /opt/homebrew/bin/gh release create --generate-notes "$APP_VERSION" {{.RELEASE_DIR}}/plan-"$APP_VERSION".tar.gz
6872 sha :
6973 requires :
7074 vars : [APP_NAME, RELEASE_DIR]
You can’t perform that action at this time.
0 commit comments