Skip to content

Conversation

theory
Copy link
Contributor

@theory theory commented Sep 27, 2025

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.

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.
@theory theory force-pushed the refine-release-tag-regex branch from 3516ca2 to 7a2bf53 Compare September 27, 2025 21:23
@theory
Copy link
Contributor Author

theory commented Sep 29, 2025

Actually, based on my reading of filter patterns, it should probably be:

    tags:
      - "v[0-9]+.[0-9]+.[0-9]+"
      - "![-]"

The believe that the second pattern will exclude anything matched by the first that also includes a dash, presuming you're using semantic versions where prerelease version info appears after a dash.

@keithf4 keithf4 self-assigned this Oct 9, 2025
@keithf4 keithf4 self-requested a review October 9, 2025 15:55
@keithf4 keithf4 merged commit 64fde82 into pgpartman:development Oct 9, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants