Skip to content

Commit 64fde82

Browse files
authored
Refine tag matching in the release workflow (#817)
Improve the `on.push.tags` entry in `.github/workflows/release.yml` to use a regular expression that matches only non-pre-release semantic version tags. This should prevent it from releasing a prerelease on PGXN. It will need refining should the desire arise to put prerelease versions on PGXN.
1 parent 254ea0a commit 64fde82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Release
22
on:
33
push:
4-
tags: [v*]
4+
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
55
jobs:
66
release:
77
name: Release on PGXN

0 commit comments

Comments
 (0)