Skip to content

Commit

Permalink
Fix prefix for release artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Nov 29, 2024
1 parent c20ae47 commit 51d22e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TAG="$1"
REPO="${GITHUB_REPOSITORY#*/}"

# The prefix is chosen to match what GitHub generates for source archives
PREFIX="${REPO}${TAG:1}"
PREFIX="${REPO}-${TAG:1}"
ARCHIVE="${REPO}-${TAG:1}.tar.gz"

git archive --format=tar.gz --prefix="${PREFIX}/" -o $ARCHIVE HEAD
Expand Down

0 comments on commit 51d22e4

Please sign in to comment.