File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,13 +201,18 @@ jobs:
201201 - name : Create release
202202 id : create_release
203203 run : |
204+ # compress the artifacts
205+ tar -czf modcli-linux-amd64.tar.gz -C ./artifacts/modcli-linux-amd64 .
206+ zip -r modcli-windows-amd64.exe.zip ./artifacts/modcli-windows-amd64.exe
207+ tar -czf modcli-darwin-arm64.tar.gz -C ./artifacts/modcli-darwin-arm64 .
208+
204209 gh release create ${{ needs.prepare.outputs.tag }} \
205210 --title "Modular CLI ${{ needs.prepare.outputs.version }}" \
206211 --notes-file changelog.md \
207212 --repo ${{ github.repository }} \
208- --latest=false './artifacts/ modcli-linux-amd64/modcli #modcli-linux-amd64' \
209- './artifacts/ modcli-windows-amd64.exe/modcli.exe #modcli-windows-amd64.exe' \
210- './artifacts/ modcli-darwin-arm64/modcli #modcli-darwin-arm64'
213+ --latest=false './modcli-linux-amd64.tar.gz #modcli-linux-amd64' \
214+ './modcli-windows-amd64.exe.zip #modcli-windows-amd64.exe' \
215+ './modcli-darwin-arm64.tar.gz #modcli-darwin-arm64'
211216
212217 git tag modcli/${{ needs.prepare.outputs.version }} $GITHUB_SHA --
213218 git push origin modcli/${{ needs.prepare.outputs.version }}
You can’t perform that action at this time.
0 commit comments