|
17 | 17 | - name: Login GH CLI
|
18 | 18 | run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
|
19 | 19 | - name: Delete old dev release
|
20 |
| - run: gh release delete -R bytecodealliance/warg dev -y || true |
| 20 | + run: gh release delete -R bytecodealliance/registry dev -y || true |
21 | 21 | - name: Create new latest release
|
22 |
| - run: gh release create -R bytecodealliance/warg dev --prerelease --notes "Published artifacts from the latest build" |
| 22 | + run: gh release create -R bytecodealliance/registry dev --prerelease --notes "Published artifacts from the latest build" |
23 | 23 |
|
24 | 24 | publish_dev_release:
|
25 | 25 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'bytecodealliance/registry'
|
@@ -54,14 +54,14 @@ jobs:
|
54 | 54 | if: ${{ matrix.cross }}
|
55 | 55 | - run: cross build --release --target ${{ matrix.rust-target }} --features native-tls-vendored
|
56 | 56 | if: ${{ matrix.cross }}
|
57 |
| - - run: mv ./target/${{ matrix.rust-target }}/release/warg.exe ./target/${{ matrix.rust-target }}/release/warg-${{ matrix.rust-target }} |
| 57 | + - run: mv ./target/${{ matrix.rust-target }}/release/warg-cli.exe ./target/${{ matrix.rust-target }}/release/warg-cli-${{ matrix.rust-target }} |
58 | 58 | if: matrix.os == 'windows-latest'
|
59 |
| - - run: mv ./target/${{ matrix.rust-target }}/release/warg ./target/${{ matrix.rust-target }}/release/warg-${{ matrix.rust-target }} |
| 59 | + - run: mv ./target/${{ matrix.rust-target }}/release/warg-cli ./target/${{ matrix.rust-target }}/release/warg-cli-${{ matrix.rust-target }} |
60 | 60 | if: matrix.os != 'windows-latest'
|
61 | 61 | - name: Login GH CLI
|
62 | 62 | shell: bash
|
63 | 63 | run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
|
64 |
| - - run: gh release upload -R bytecodealliance/warg --clobber dev target/${{ matrix.rust-target }}/release/warg-${{ matrix.rust-target }} |
| 64 | + - run: gh release upload -R bytecodealliance/registry --clobber dev target/${{ matrix.rust-target }}/release/warg-cli-${{ matrix.rust-target }} |
65 | 65 |
|
66 | 66 | publish_tagged_release:
|
67 | 67 | if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'bytecodealliance/registry'
|
@@ -93,11 +93,11 @@ jobs:
|
93 | 93 | if: ${{ matrix.cross }}
|
94 | 94 | - run: cross build --release --target ${{ matrix.rust-target }} --features native-tls-vendored
|
95 | 95 | if: ${{ matrix.cross }}
|
96 |
| - - run: mv ./target/${{ matrix.rust-target }}/release/warg.exe ./target/${{ matrix.rust-target }}/release/warg-${{ matrix.rust-target }} |
| 96 | + - run: mv ./target/${{ matrix.rust-target }}/release/warg-cli.exe ./target/${{ matrix.rust-target }}/release/warg-cli-${{ matrix.rust-target }} |
97 | 97 | if: matrix.os == 'windows-latest'
|
98 |
| - - run: mv ./target/${{ matrix.rust-target }}/release/warg ./target/${{ matrix.rust-target }}/release/warg-${{ matrix.rust-target }} |
| 98 | + - run: mv ./target/${{ matrix.rust-target }}/release/warg-cli ./target/${{ matrix.rust-target }}/release/warg-cli-${{ matrix.rust-target }} |
99 | 99 | if: matrix.os != 'windows-latest'
|
100 | 100 | - name: Login GH CLI
|
101 | 101 | shell: bash
|
102 | 102 | run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
|
103 |
| - - run: gh release upload -R bytecodealliance/warg --clobber ${{ github.ref_name }} target/${{ matrix.rust-target }}/release/warg-${{ matrix.rust-target }} |
| 103 | + - run: gh release upload -R bytecodealliance/registry --clobber ${{ github.ref_name }} target/${{ matrix.rust-target }}/release/warg-cli-${{ matrix.rust-target }} |
0 commit comments