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 release git tag push trigger #869

Merged
merged 1 commit into from
Jan 8, 2023

Conversation

p4checo
Copy link
Contributor

@p4checo p4checo commented Jan 6, 2023

Apparently GH action's push event filters accept glob patterns and not regexes 🤦

Source:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore

That means that the existing tag filter string being a regex wasn't working properly and as such wasn't triggering the expected builds on tag push.

To address this, the on.push.tags were updated to have separate entries for normal vs rc tags, and also tweaked the tag-only jobs' filters to rely on github.ref_type instead of inspecting github.ref.

Checklist

  • Updated CHANGELOG.md.

Copy link
Contributor

@mluisbrown mluisbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have conflicts.

Apparently GH action's push event filters accept glob patterns and
*not* regexes 🤦

Source:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore

That means that the existing tag filter string being a regex wasn't
working properly and as such wasn't triggering the expected builds on
tag push.

To address this, the `on.push.tags` were updated to have separate
entries for normal vs `rc` tags, and also tweaked the tag-only jobs'
filters to rely on `github.ref_type` instead of inspecting `github.ref`.
@mluisbrown mluisbrown merged commit 6b38733 into ReactiveCocoa:master Jan 8, 2023
@p4checo p4checo deleted the fix-ci-tag-push-trigger branch January 9, 2023 10:54
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.

2 participants