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 57e57fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "proxy-rs"
name = "cargo-proxy"
version = "0.1.0"
edition = "2021"
description = "A simple proxy config tool."
Expand Down

0 comments on commit 57e57fd

Please sign in to comment.