-
Notifications
You must be signed in to change notification settings - Fork 327
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
[DNM] Post-"ghost"-release hotfix workflow #8264
Draft
angusbayley
wants to merge
10
commits into
develop
Choose a base branch
from
support/post-ghost-release-hotfix-workflow
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+101
−46
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 5 Skipped Deployments
|
angusbayley
force-pushed
the
support/post-ghost-release-hotfix-workflow
branch
4 times, most recently
from
October 31, 2024 15:11
977ded9
to
5559f90
Compare
angusbayley
changed the title
[DNM] Support/post ghost release hotfix workflow
[DNM] Post-"ghost"-release hotfix workflow
Oct 31, 2024
angusbayley
force-pushed
the
support/post-ghost-release-hotfix-workflow
branch
from
November 1, 2024 11:59
322b8ce
to
23c00a5
Compare
fix: bad var name pull develop, use --since on changeset status fix step name, fetch depth for develop 0 only fetch develop at tag, dont check it out get develop before checking out hotfix git fetch tags first ultra conservative checkout, see if this works
angusbayley
force-pushed
the
support/post-ghost-release-hotfix-workflow
branch
from
November 1, 2024 15:03
23c00a5
to
3ebebec
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ticket here
This PR implements the new hotfix process for targeting arbitrary past releases to issue a hotfix for
Create hotfix branch from any release
This modifies the existing create hotfix workflow to accept parameters for
version
andapplication
. Specifying these values allows you to create a hotfix branch at the point of any previous releaseversion
is optional, and if unspecified defaults to "latest" - a special keyword that bypasses the tag finding process (see below), instead creating the hotfix branch frommain
just as the workflow did before this PRapplication
is mandatory and is implemented as achoice
dropdown with LLM and LLD as the only two optionsIf
version
is specified it is reformatted into a tag using the specifiedapplication
, e.g. version2.91.0
+LLD
will be reformatted into a the tag for the 2.91.0 release@ledgerhq/live-desktop@2.91.0
. This is then used to checkout the repo prior to the remaining hotfix steps.Bonus: the version + application being targeted is appended to the hotfix PR title:
Edge case behaviour:
version
and submits it as empty: it falls back to a ref ofmain
(test run)version
is a non-existent version:git fetch
fails during the checkout action (test run).Implement new hotfixing process in
release-prepare-hotfix
The PR also:
release-prepare-hotfix
workflowapplication
andtag
to target. I don't love this, but haven't thought about a slick and low complexity way to handle this automatically yetmain
anddevelop
To confirm, the new process is:
main
ordevelop
)