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

[v8] Conditionally publish deb packages #9783

Merged
merged 2 commits into from
Jan 21, 2022
Merged

[v8] Conditionally publish deb packages #9783

merged 2 commits into from
Jan 21, 2022

Conversation

wadells
Copy link
Contributor

@wadells wadells commented Jan 14, 2022

v8 backport of #9496

Summary:

This patch makes a couple changes:

  1. deb archives are not published to apt if they're not the latest release ever
  2. both rpm and deb archives are no longer published to yum / apt if they contain any pre-release indicator or build metadata
  3. nothing is published if the commit isn't tagged.

Contributes to #8166

(cherry picked from commit 8540533)

Testing Done

No further testing beyond what I did for #9496.

Notes

This does not need to be ported further back than v8 because we have a simpler strategy in 7.0 (#9237), 6.2 (#9238), and 5.0 (#9239). We might benefit from porting Check if commit is tagged and Check if tag is prerelease further, as we have seen some pre-releases slip into the RPM repo in 6.2. They're harmless as far as I know.

@wadells wadells enabled auto-merge (squash) January 19, 2022 21:10
This patch makes a couple changes:

  1. deb archives are not published to apt if they're not the latest
     release ever
  2. both rpm and deb archives are no longer published to yum / apt if
     they contain any pre-release indicator or build metadata
  3. nothing is published if the commit isn't tagged.

Contributes to #8166

(cherry picked from commit 8540533)
@wadells wadells merged commit 053249e into branch/v8 Jan 21, 2022
@wadells wadells deleted the walt/v8-deb branch January 21, 2022 01:33
wadells added a commit that referenced this pull request Feb 23, 2022
This was removed in #9783, and should not have been.
wadells added a commit that referenced this pull request Feb 23, 2022
This was removed in #9783, and should not have been.

(cherry picked from commit ef67345)
wadells added a commit that referenced this pull request Feb 23, 2022
This was removed in #9783, and should not have been.

(cherry picked from commit ef67345)
wadells added a commit that referenced this pull request Feb 24, 2022
This was removed in #9783, and should not have been.

(cherry picked from commit ef67345)
wadells added a commit that referenced this pull request Feb 24, 2022
This was removed in #9783, and should not have been.
wadells added a commit that referenced this pull request Feb 25, 2022
This was removed in #9783, and should not have been.

(cherry picked from commit ef67345)
@webvictim webvictim mentioned this pull request Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants