Skip to content

Commit

Permalink
correct asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jun 17, 2023
1 parent 6ebee53 commit 5723562
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ jobs:
- name: Validate version
run: |
VERSION="$(cat ./VERSION)"
if [[ "$TAG" != "refs/tags/v$VERSION" ]]; then
echo "VERSION $VERSION does not match commit tag $TAG"
if [[ "$GITHUB_REF_NAME" != "v$VERSION" ]]; then
echo "VERSION $VERSION does not match commit tag $GITHUB_REF_NAME"
exit 1
fi
env:
TAG: ${{ github.ref }}
- name: Set up BEAM
uses: erlef/setup-beam@v1
Expand All @@ -62,5 +60,5 @@ jobs:
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./elixir-ls.zip
asset_name: elixir-ls-${{ github.ref }}.zip
asset_name: elixir-ls-${{ github.ref_name }}.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.0-rc.2
0.15.0-rc.3

0 comments on commit 5723562

Please sign in to comment.