Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refix debian package version, matching on branch name instead of SNAPSHOT #3712

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

landryb
Copy link
Member

@landryb landryb commented Apr 7, 2022

same as #3711

same change done with 5409a10 in master branch
followup to 993e7c7, 0715664 and #3709

with that, the logic is:

  • on stable branches (eg matching \d{2}.\d.x$, so 20.1.x, 22.0.x...) start the package version with the closest tag name
  • on other branches (master, pull requests, experimental branches..) use 99.master

tested with the diff local on 22.0.x, dpkg --info on the resulting debs gives
me the expected Version: 22.0.0.202204071436~ae8bbaf for all georchestra
packages (but geonetwork)

on the master branch with 5409a10, i get Version: 99.master.202204071442~5409a10

…SHOT

same change done with 5409a10 in master branch
followup to 993e7c7, 0715664 and georchestra#3709

with that, the logic is:
- on stable branches (eg matching \d{2}\.\d\.x$, so 20.1.x, 22.0.x...) start the package version with the closest tag name
- on other branches (master, pull requests, experimental branches..) use 99.master

tested with the diff local on 22.0.x, dpkg --info on the resulting debs gives
me the expected 'Version: 22.0.0.202204071436~ae8bbaf' for all georchestra
packages (but geonetwork)

on the master branch with 5409a10, i get Version: 99.master.202204071442~5409a10
@pmauduit pmauduit merged commit 7060358 into georchestra:22.0.x Apr 13, 2022
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.

None yet

2 participants