Skip to content

Commit

Permalink
feat: rename the release name
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Dec 12, 2023
1 parent 6e8c7ef commit 211bc7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
cd target/${{ matrix.job.target }}/release
####### reduce binary size by removing debug symbols #######
BINARY_NAME=proxy-rs${{ matrix.job.binary-postfix }}
BINARY_NAME=cargo-proxy${{ matrix.job.binary-postfix }}
if [[ ${{ matrix.job.target }} == aarch64-unknown-linux-gnu ]]; then
GCC_PREFIX="aarch64-linux-gnu-"
else
Expand All @@ -92,7 +92,7 @@ jobs:
"$GCC_PREFIX"strip $BINARY_NAME
########## create tar.gz ##########
RELEASE_NAME=proxy-rs-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }}
RELEASE_NAME=cargo-proxy-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }}
tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME
########## create sha256 ##########
Expand All @@ -105,8 +105,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
target/${{ matrix.job.target }}/release/proxy-rs-*.tar.gz
target/${{ matrix.job.target }}/release/proxy-rs-*.sha256
target/${{ matrix.job.target }}/release/cargo-proxy-*.tar.gz
target/${{ matrix.job.target }}/release/cargo-proxy-*.sha256
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 211bc7a

Please sign in to comment.