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

melange bump: only reset the epoch if version changes, else increment it #733

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

rawlingsj
Copy link
Member

@rawlingsj rawlingsj commented Oct 2, 2023

This can happen when an upstream deletes a tag and re-uses it with a different commit, so we need to bump the epoch rather than reset it. Example wolfi-dev/os@4a7ae40

If there are no version or expected commit changes we still expect the epoch to be bumped

This can happen when an upstream deletes a tag and re-uses it with a different commit, so we need to bump the epoch rather than reset it.

If there are no version or expected commit changes we still expect the epoch to be bumped

Signed-off-by: James Rawlings <[email protected]>
rawlingsj added a commit to wolfi-dev/os that referenced this pull request Oct 17, 2023
Manually bump epoch as seems upstream has recreated the version tag and the bot is not yet automating the bump.  Until chainguard-dev/melange#733 is merged we need to manually bump it.

Signed-off-by: James Rawlings <[email protected]>
rawlingsj added a commit to wolfi-dev/os that referenced this pull request Oct 17, 2023
We need to manually bump the epoch until this is merged and available in wolfi chainguard-dev/melange#733

Signed-off-by: James Rawlings <[email protected]>
rawlingsj added a commit to wolfi-dev/os that referenced this pull request Oct 17, 2023
We need to manually bump the epoch until this is merged and available in wolfi chainguard-dev/melange#733

Signed-off-by: James Rawlings <[email protected]>
@rawlingsj rawlingsj enabled auto-merge October 17, 2023 09:14
@rawlingsj rawlingsj merged commit df84354 into chainguard-dev:main Oct 25, 2023
26 checks passed
rawlingsj added a commit to wolfi-dev/os that referenced this pull request Oct 30, 2023
… to roll out into wolfi

ma

Signed-off-by: James Rawlings <[email protected]>
rawlingsj added a commit to rawlingsj/wolfictl that referenced this pull request Oct 30, 2023
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