Skip to content

Commit

Permalink
Update build-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mastafit authored Jan 4, 2024
1 parent fa4c5c3 commit 5e274e1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,23 @@ jobs:
- name: Build Binaries
run: npm run build:binaries

- name: Get the version tag
id: get_version
run: echo "VERSION_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref.replace('refs/tags/', '') }}
release_name: Release ${{ github.ref.replace('refs/tags/', '') }}
tag_name: ${{ env.VERSION_TAG }}
release_name: Release ${{ env.VERSION_TAG }}
draft: false
prerelease: false



- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 5e274e1

Please sign in to comment.