question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automate release branch creation

See original GitHub issue

We need to perform the following tasks every time we create a release-*.* branch:

  1. TypeScript creates a branch from master on GitHub.
  2. TypeScript updates the version on that branch to beta.
    1. Update package.json
    2. Update src/compiler/corePublic.ts
  3. TypeScript LKGs the branch.
  4. SDK script is updated to sync from that branch.

We should find a way to do all of this “at once”.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
weswighamcommented, Feb 20, 2020

There is now a @typescript-bot create release-X.Y task that can be used in issues. Ideally, it should be used in a release tracking issue (where anything to do pertaining to the upcoming release process can be collected).

I can prepare tasks for the other common release branch activities, like syncing with master (for pre-RC), doing an LKG (if a cherry-pick-and-LKG command on a PR is insufficient), changing the release tag+version (from 0-beta to 0-rc to .1, to .2 and beyond), and, hopefully, triggering the final publish task.

With all that in place, all we should need is appropriate triggers for the VS SDK builds, right?

1reaction
uniqueiniquitycommented, Feb 19, 2020

I think the tag happens after all of this - there still may be changes in the release branch before the beta tag is created

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Github Actions to Automate Our Release Process
Check out code from app repo. · Create new release branch named release/v{versionName} · Change the version name and version code of release....
Read more >
How to automate git version release of master branch?
Enter new version (Current 1.0.5): 1.0.6 Are you sure you want to release version 1.0.6? (y|n): y Switched to a new branch 'release-1.0.6' ......
Read more >
Using git-flow to automate your git branching workflow
git-flow is a library of git subcommands that helps automate your branching and release workflow workflow, using Vincent Driessen's ...
Read more >
Automate merging release branches into your main branch ...
A typical release process for Git workflows involves creating a release branch, performing various tests on that branch, and applying any ...
Read more >
Automating Releases with GitHub Workflows - Conor Strejcek
In any case, when you reach this point, it's time to cut a release branch. Following the git-flow model, this is normally a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found