Skip to content

Commit 5723562

Browse files
committed
correct asset name
1 parent 6ebee53 commit 5723562

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/release-asset.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ jobs:
3434
- name: Validate version
3535
run: |
3636
VERSION="$(cat ./VERSION)"
37-
if [[ "$TAG" != "refs/tags/v$VERSION" ]]; then
38-
echo "VERSION $VERSION does not match commit tag $TAG"
37+
if [[ "$GITHUB_REF_NAME" != "v$VERSION" ]]; then
38+
echo "VERSION $VERSION does not match commit tag $GITHUB_REF_NAME"
3939
exit 1
4040
fi
41-
env:
42-
TAG: ${{ github.ref }}
4341
4442
- name: Set up BEAM
4543
uses: erlef/setup-beam@v1
@@ -62,5 +60,5 @@ jobs:
6260
with:
6361
upload_url: ${{ needs.release.outputs.upload_url }}
6462
asset_path: ./elixir-ls.zip
65-
asset_name: elixir-ls-${{ github.ref }}.zip
63+
asset_name: elixir-ls-${{ github.ref_name }}.zip
6664
asset_content_type: application/zip

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.0-rc.2
1+
0.15.0-rc.3

0 commit comments

Comments
 (0)