Skip to content

Commit 917e03f

Browse files
committed
Remove / from tag names
This broke the publish step for all pull request started workflows. Because this tag is used for both creating a directory and creating a tar file.
1 parent ce409b4 commit 917e03f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,14 @@ jobs:
259259
cd "$(mktemp -d)"
260260
mv $source/bins-* .
261261
mkdir dist
262+
tag=${GITHUB_REF_NAME//\//}
262263
263264
for dir in bins-* ; do
264265
platform=${dir#"bins-"}
265266
if [[ $platform =~ "windows" ]]; then
266267
exe=".exe"
267268
fi
268-
pkgname=helix-$GITHUB_REF_NAME-$platform
269+
pkgname=helix-$tag-$platform
269270
mkdir -p $pkgname
270271
cp $source/LICENSE $source/README.md $pkgname
271272
mkdir $pkgname/contrib
@@ -286,7 +287,7 @@ jobs:
286287
fi
287288
done
288289
289-
tar cJf dist/helix-$GITHUB_REF_NAME-source.tar.xz -C $source .
290+
tar cJf dist/helix-$tag-source.tar.xz -C $source .
290291
mv dist $source/
291292
292293
- name: Upload binaries to release

0 commit comments

Comments
 (0)