We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca67d30 commit 54fc90aCopy full SHA for 54fc90a
.github/workflows/release.yml
@@ -57,8 +57,8 @@ jobs:
57
VSIX_PATH="$(ls dist/*.vsix)"
58
echo "::set-output name=vsix_path::$VSIX_PATH"
59
# Transform the GitHub ref so it can be used in a filename.
60
- # This is mainly needed for testing branches that modify this workflow.
61
- REF_NAME="$(echo ${{ github.ref }} | sed -e 's:/:-:g')"
+ # The last sed invocation is used for testing branches that modify this workflow.
+ REF_NAME="$(echo ${{ github.ref }} | sed -e 's:^refs/tags/::' | sed -e 's:/:-:g')"
62
echo "::set-output name=ref_name::$REF_NAME"
63
64
# Uploading artifacts is not necessary to create a release.
0 commit comments