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

Tag Filters: GitHub Release Task #10703

Merged
merged 9 commits into from
Jun 24, 2019

Conversation

TheLayman
Copy link
Contributor

Enhancements for tags: User defines the tag pattern for which the release should be created.

When tagSource is auto and tagPattern is specified,

  1. In case of manual trigger, Find a tag matching the tagPattern at the target. If there are multiple matching tags or no matching tags, Do not create a release.
  2. If the trigger is a commit push, Find a tag on that commit matching the tag Patter, If there are multiple matching tags or no matching tags, Do not create a release.
  3. If the trigger is a tag push, Check if that tag matches the given pattern. If yes, create a release, else do not.

Adding a new optional parameter tagPattern to getTagForCommitTarget and _getTagForCommit.
If the tagPattern is specified, tags are filtered based on the tagPattern too in addition to the existing filters.

@thesattiraju
Copy link
Contributor

You can revert your changes to the package-lock.json file.

@TheLayman TheLayman changed the title Tag Filters Tag Filters: GitHub Release Task Jun 20, 2019
@TheLayman TheLayman requested a review from ObsidianVoid June 24, 2019 06:34
@TheLayman TheLayman merged commit afaa36d into master Jun 24, 2019
@TheLayman TheLayman deleted the users/vedogga/gitHubReleaseTagPattern branch June 24, 2019 09:10
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