Skip to content

Commit 975507a

Browse files
Fixed release.yml
1 parent baa290a commit 975507a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
publish:
99
name: Publish
1010
runs-on: ubuntu-latest
11+
if: startsWith(github.ref, 'refs/tags/v')
1112
steps:
1213
- name: Checkout the repository
1314
uses: actions/checkout@v3
@@ -24,11 +25,11 @@ jobs:
2425
- name: Build package to upload to GitHub releases
2526
run: |
2627
npm pack
27-
mv @acpr/rate-limit-postgresql-*.tgz @acpr/rate-limit-postgresql.tgz
28+
mv @acpr/rate-limit-postgresql-*.tgz rate-limit-postgresql.tgz
2829
- name: Create a Github release
2930
uses: softprops/action-gh-release@v1
3031
with:
31-
files: @acpr/rate-limit-postgresql.tgz
32+
files: rate-limit-postgresql.tgz
3233
body:
3334
You can view the changelog
3435
[here](https://github.com/adrianprelipcean/express-rate-limit-postgresql/blob/master/changelog.md).

0 commit comments

Comments
 (0)