diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 92ddd00..d78f9eb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -91,7 +91,8 @@ jobs: ########## create tar.gz ########## BINARY_NAME=places${{ matrix.job.binary-postfix }} - RELEASE_NAME=places-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }} + TAG="$(cargo pkgid | cut -d# -f2)" + RELEASE_NAME=places-${TAG}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }} tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME - name: Releasing assets