ci: ️ Update binary_name

This commit is contained in:
Sergio Gasquez 2022-09-26 15:34:59 +02:00
parent 9326f3f200
commit 4439c4aeb0

View File

@ -16,29 +16,19 @@ jobs:
matrix:
job:
- os: macos-latest
os-name: macos
target: x86_64-apple-darwin
architecture: x86_64
binary-postfix: ""
- os: ubuntu-latest
os-name: linux
target: x86_64-unknown-linux-gnu
architecture: x86_64
binary-postfix: ""
- os: windows-latest
os-name: windows
target: x86_64-pc-windows-msvc
architecture: x86_64
binary-postfix: ".exe"
- os: ubuntu-latest
os-name: linux
target: aarch64-unknown-linux-gnu
architecture: arm64
binary-postfix: ""
- os: macos-latest
os-name: macos
target: aarch64-apple-darwin
architecture: arm64
binary-postfix: ""
steps:
- name: Checkout repository
@ -78,7 +68,7 @@ jobs:
"$GCC_PREFIX"strip $BINARY_NAME
########## create tar.gz ##########
RELEASE_NAME=espup-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }}
RELEASE_NAME=espup-${{ matrix.job.target }}
tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME
########## create sha256 ##########