mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:31:54 +00:00
Closes https://github.com/sourcegraph/sourcegraph/issues/48133 Auto save the release config when prompted for input of a new scheduled release. Also fixes a small ordering problem in the release guide template to push the changes to the config _after_ all the auto generation is done. ## Test plan Ran locally adding 4.6.0: ``` { "metadata": { "teamEmail": "team@sourcegraph.com", "slackAnnounceChannel": "announce-engineering" }, "scheduledReleases": { "4.5.0": { "codeFreezeDate": "2023-02-15T10:00:00.000-08:00", "securityApprovalDate": "2023-02-15T10:00:00.000-08:00", "releaseDate": "2023-02-22T10:00:00.000-08:00", "current": "4.5.0", "captainGitHubUsername": "coury-clark", "captainSlackUsername": "coury" }, "4.6.0": { "codeFreezeDate": "2023-03-15T10:00:00.000-07:00", "securityApprovalDate": "2023-03-15T10:00:00.000-07:00", "releaseDate": "2023-03-22T10:00:00.000-07:00", "current": "4.6.0", "captainGitHubUsername": "coury-clark", "captainSlackUsername": "coury" } }, "dryRun": { "tags": false, "changesets": false, "trackingIssues": false, "calendar": false, "slack": false }, "in_progress": { "captainGitHubUsername": "coury-clark", "captainSlackUsername": "coury", "releases": [ { "version": "4.5.0", "previous": "4.4.2" } ] } } ``` <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles --> ## App preview: - [Web](https://sg-web-cclark-save-release-input.onrender.com/search) Check out the [client app preview documentation](https://docs.sourcegraph.com/dev/how-to/client_pr_previews) to learn more. |
||
|---|---|---|
| .. | ||
| .yarn | ||
| src | ||
| templates | ||
| testdata | ||
| .eslintrc.js | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| release-config.jsonc | ||
| tsconfig.json | ||
Sourcegraph release tool
This directory contains scripts and code to automate our releases. Refer to the handbook for details on our release process and how this tool is used.
To see all available steps:
pnpm run release help # add 'all' to see test commands as well
Before using this tool, please verify that the release configuration is set up correctly.