GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci(release): Smarter and safer auto version setting by BYK · Pull Request #19933 · getsentry/sentry

Conversation

@BYK

@BYK BYK commented Jul 17, 2020

Copy link
Copy Markdown
Member

If the release action is run without an explicit version in the same calendar month more than once, all of them will try to release the same version where the patch version is set to 0. This is never the intended action: if we are making a new release in the same month where an old one exists, it is 100% a patch release.

This PR automatically implements patch version increment based on existing versions.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@BYK
ci(release): Smarter and safer auto version setting
f613078
If the release action is run without an explicit version in the same calendar month more than once, all of them will try to release the same version where the patch version is set to 0. This is never the intended action: if we are making a new release in the same month where an old one exists, it is 100% a patch release.

This PR automatically implements patch version increment based on existing versions.
@BYK
BYK requested a review from a team as a code owner July 17, 2020 16:18
@BYK
BYK requested review from jan-auer and mattrobenolt July 17, 2020 16:18
@vercel
vercel Bot deployed to Preview July 17, 2020 16:18
View deployment
mattrobenolt
mattrobenolt approved these changes Jul 17, 2020
View reviewed changes
@BYK
BYK merged commit e3722ba into master Jul 17, 2020
@BYK
BYK deleted the byk/ci/release-auto-version branch July 17, 2020 19:32
@BYK BYK mentioned this pull request Jul 21, 2020
ci(release): Fix release token and auto version issues #19979
Merged
BYK added a commit that referenced this pull request Aug 13, 2020
@BYK
ci(release): Fix release token and auto version issues (#19979)
52ccb7b
This is a follow up to #19933 and #19942 which did not solve the issues fully.
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 18, 2020

This branch was successfully deployed

1 active deployment
Preview — f613078c Deployed Jul 17, 2020 by vercel[bot]
View deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@jan-auer jan-auer Awaiting requested review from jan-auer
1 more reviewer
@mattrobenolt mattrobenolt mattrobenolt approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@BYK @mattrobenolt
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.