Relax dpkg version regex #19

Merged
josch merged 1 commits from tambre/mmdebstrap:dpkg_version_regex into main 2 years ago
tambre commented 2 years ago

For non-release builds the version will include the number of commits since last release and the commit hash with dashes, e.g. 1.20.8-46-g0881.
For downstream distros it seems it may include their identification strings, e.g. 1.20.9ubuntu2.

Make the regex match everything after the version number to avoid incorrectly erroring on such versions.

Fixes #18

For non-release builds the version will include the number of commits since last release and the commit hash with dashes, e.g. 1.20.8-46-g0881. For downstream distros it seems it may include their identification strings, e.g. 1.20.9ubuntu2. Make the regex match everything after the version number to avoid incorrectly erroring on such versions. Fixes #18
josch merged commit c61e81a244 into main 2 years ago
The pull request has been merged as c61e81a244.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b tambre-dpkg_version_regex main
git pull dpkg_version_regex

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff tambre-dpkg_version_regex
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: josch/mmdebstrap#19
Loading…
There is no content yet.