Skip to content

Commit

Permalink
Fix GH release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Jan 18, 2024
1 parent cacce56 commit fea8281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
checks:
runs-on: ubuntu-latest
# if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Check out source code
uses: actions/checkout@v4
Expand All @@ -26,7 +26,6 @@ jobs:
set -x
cd test-commons
rm -rf dist/*
VERSION="${GITHUB_REF##*/}"
npm run rollup
- name: Create release with assets
env:
Expand All @@ -40,4 +39,5 @@ jobs:
&& sudo apt update \
&& sudo apt install gh -y
cd test-commons
VERSION="${GITHUB_REF##*/}"
gh release create "${VERSION}" ./dist/* --title "${VERSION}" --target "${GITHUB_SHA}" --generate-notes

0 comments on commit fea8281

Please sign in to comment.