We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3090848 commit 1342e54Copy full SHA for 1342e54
1 file changed
.github/workflows/release.yaml
@@ -60,6 +60,15 @@ jobs:
60
env:
61
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62
63
+ - name: Release CLI binaries
64
+ if: ${{ steps.changeset.outputs.published == 'true' && contains(steps.changeset.outputs.publishedPackages.*.name, '@cartesi/cli') }}
65
+ run: |
66
+ for f in cartesi-*; do tar -czf "$f.tar.gz" "$f"; done
67
+ VERSION=$(jq -r '.[] | select(.name=="@cartesi/cli") | .version' <<< '${{ steps.changeset.outputs.publishedPackages }}')
68
+ TAG="@cartesi/cli@${VERSION}"
69
+ gh release upload "$TAG" cartesi-*.tar.gz
70
+ working-directory: ./apps/cli/bin
71
+
72
- name: Build SDK
73
if: ${{ steps.changeset.outputs.published == 'true' && contains(steps.changeset.outputs.publishedPackages.*.name, '@cartesi/sdk') }}
74
uses: ./.github/workflows/sdk.yaml
0 commit comments