Skip to content

Commit b7ebd2b

Browse files
committed
updated
1 parent e95ca26 commit b7ebd2b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish-binaries.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
- name: Login GH CLI
1818
run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
1919
- 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
2121
- 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"
2323

2424
publish_dev_release:
2525
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'bytecodealliance/registry'
@@ -54,14 +54,14 @@ jobs:
5454
if: ${{ matrix.cross }}
5555
- run: cross build --release --target ${{ matrix.rust-target }} --features native-tls-vendored
5656
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 }}
5858
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 }}
6060
if: matrix.os != 'windows-latest'
6161
- name: Login GH CLI
6262
shell: bash
6363
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 }}
6565

6666
publish_tagged_release:
6767
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'bytecodealliance/registry'
@@ -93,11 +93,11 @@ jobs:
9393
if: ${{ matrix.cross }}
9494
- run: cross build --release --target ${{ matrix.rust-target }} --features native-tls-vendored
9595
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 }}
9797
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 }}
9999
if: matrix.os != 'windows-latest'
100100
- name: Login GH CLI
101101
shell: bash
102102
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

Comments
 (0)