Skip to content

Commit 76dd57d

Browse files
committed
Let release CI workflow find release tarballs more reliably
This approach also works if the Git tag has a 'v' at the front.
1 parent a64a2fc commit 76dd57d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: 'Release'
44
on:
55
push:
66
tags:
7-
- '[0-9]+.[0-9]+.[0-9]+'
7+
- 'v[0-9]+.[0-9]+.[0-9]+'
88

99
jobs:
1010
release:
@@ -28,7 +28,7 @@ jobs:
2828
uses: softprops/action-gh-release@v2
2929
with:
3030
files:
31-
pg_large_objects-${{ github.ref_name }}.tar
31+
pg_large_objects-*.tar
3232

3333
- name: Publish to Hex.pm
3434
run: mix deps.get && mix hex.publish --yes

0 commit comments

Comments
 (0)