Skip to content

support multiple capture groups in version-regex#401

Merged
Mic92 merged 1 commit intoMic92:mainfrom
wolfgangwalther:multiple-match-groups
Jul 21, 2025
Merged

support multiple capture groups in version-regex#401
Mic92 merged 1 commit intoMic92:mainfrom
wolfgangwalther:multiple-match-groups

Conversation

@wolfgangwalther
Copy link
Contributor

@wolfgangwalther wolfgangwalther commented Jul 3, 2025

This supports multiple capture groups in the --version-regex option. The groups will be concatenated to a single version delimited by .. This allows extracting versions from versioning schemes such as PostgreSQL's, which use REL_17_0 tags etc., i.e. they use a different separator.

@wolfgangwalther
Copy link
Contributor Author

The buildbot/nix-build failure seems to be unrelated and already present on main.

@wolfgangwalther
Copy link
Contributor Author

@Mic92 could you have a look? WDYT?

This support multiple capture groups in the `--version-regex` option.
The groups will be concatenated to a single version delimited by `.`.
This allows extracting versions from versioning schemes such as
PostgreSQL's, which use `REL_17_0` tags etc., i.e. they use a different
separator.
@Mic92 Mic92 force-pushed the multiple-match-groups branch from c067e08 to 1227699 Compare July 21, 2025 14:38
@Mic92 Mic92 enabled auto-merge July 21, 2025 14:38
@Mic92 Mic92 merged commit 178ed54 into Mic92:main Jul 21, 2025
3 checks passed
@wolfgangwalther wolfgangwalther deleted the multiple-match-groups branch July 24, 2025 10:24
@mweinelt
Copy link

Would appreciate a release to automate the updating of sqlalchemy, which uses rel_\d+_\d+_\d+ tags.

@SuperSandro2000
Copy link
Collaborator

If the last release wasn't that long ago, I would have just done it but that made unsure. @wolfgangwalther do you want to do it? 😓

@wolfgangwalther
Copy link
Contributor Author

@SuperSandro2000 not sure what you mean - I don't have any privileges on this repo.

Cutting a release seems to "just" require running bin/create-release.sh?

@mweinelt
Copy link

mweinelt commented Aug 3, 2025

@Mic92 ping, as requested.

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.

4 participants