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

fix(ci): fix remote tag deletion/skipping #401

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

LucaGuerra
Copy link
Contributor

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

What this PR does / why we need it:

The remote build would show erratic behavior when a 0.10.0 tag was introduced. This was possibly due to git ordering of tags. Instead of relying on it we'll use a set, remove what we don't need and later sort with semver.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@leogr
Copy link
Member

leogr commented Jan 19, 2024

The remote build would show erratic behavior when a 0.10.0 tag was introduced. This was possibly due to git ordering of tags. Instead of relying on it we'll use a set, remove what we don't need and later sort with semver.

Make sense. For example:

❯ git --no-pager tag --list "okta-[0-9].*" --contains okta-0.8.0
okta-0.10.0
okta-0.8.0
okta-0.8.1
okta-0.9.0

@poiana
Copy link
Contributor

poiana commented Jan 19, 2024

LGTM label has been added.

Git tree hash: 57986e9eafcc755bccdd83f1a21c71e242420534

@poiana
Copy link
Contributor

poiana commented Jan 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: leogr, LucaGuerra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit b3cd036 into falcosecurity:master Jan 19, 2024
10 checks passed
@LucaGuerra LucaGuerra deleted the fix/ci-remote-tag-removal branch January 19, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants