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

Only release semver tags #62

Merged
merged 2 commits into from
Mar 30, 2022
Merged

Only release semver tags #62

merged 2 commits into from
Mar 30, 2022

Conversation

scothis
Copy link
Contributor

@scothis scothis commented Mar 24, 2022

We need to create multiple tags for the same commit so that go can
resolve the webhook module. We don't need to run CI on those tags.

Otherwise we'll get an error from the release script like
https://github.com/vmware-tanzu/cartographer-conventions/runs/5684344434?check_suite_focus=true

Signed-off-by: Scott Andrews andrewssc@vmware.com

We need to create multiple tags for the same commit so that go can
resolve the webhook module. We don't need to run CI on those tags.

Otherwise we'll get an error from the release script like
https://github.com/vmware-tanzu/cartographer-conventions/runs/5684344434?check_suite_focus=true

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@scothis
Copy link
Contributor Author

scothis commented Mar 24, 2022

tested with a smattering of tags against my fork.

These ran CI:

  • v0.0.1
  • v0.0.1-build.1

These did not run CI:

  • webhook/v0.0.1
  • webhook/v0.0.1-build.1

@@ -6,7 +6,8 @@ on:
- 'main'
- '!dependabot/**'
tags:
- '**'
# semver tags
- 'v[0-9]+.[0-9]+.[0-9]+-?**'
Copy link
Contributor

Choose a reason for hiding this comment

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

Period characters in a regular expression can match any character. You should prefix these periods with a backslash (i.e.: \.) to indicate that you really do want periods to separate the components in the semver string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, updated

@katmutua katmutua self-requested a review March 30, 2022 14:41
Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@6898dda). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #62   +/-   ##
=======================================
  Coverage        ?   70.18%           
=======================================
  Files           ?       17           
  Lines           ?      909           
  Branches        ?        0           
=======================================
  Hits            ?      638           
  Misses          ?      251           
  Partials        ?       20           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6898dda...06eed76. Read the comment docs.

Copy link
Contributor

@rszumlakowski rszumlakowski left a comment

Choose a reason for hiding this comment

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

Looks better now. Thank you.

@scothis scothis merged commit 63d6826 into vmware-tanzu:main Mar 30, 2022
@scothis scothis deleted the filter-tags branch March 30, 2022 17:33
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.

4 participants