sourcegraph/dev
coury-clark 2144d0e2b7
release-tool: automate in app batch changes changelog constants, refactor release sequence to consolidate baking steps (#48656)
Closes https://github.com/sourcegraph/sourcegraph/issues/48631

Automate the manual constant upgrade for batch changes in app changelog.
This also does a bit of a refactor so that we can consolidate all the
baking steps in the release process into a single command.

## Test plan

I ran the command in dry run mode for both, but only tested against the
batch changes since it's quite tedious to set up a test scenario for
older versions of MVU.

I ran `pnpm run release release:bake-content` with 5.0.0 set as the
active version:

<img width="1482" alt="CleanShot 2023-03-03 at 14 34 30@2x"
src="https://user-images.githubusercontent.com/5090588/222834967-ffa3e101-3e95-4bcb-b2b5-57e382662c06.png">


<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

## App preview:

-
[Web](https://sg-web-cclark-automate-batch-changes.onrender.com/search)

Check out the [client app preview
documentation](https://docs.sourcegraph.com/dev/how-to/client_pr_previews)
to learn more.
2023-03-06 16:11:12 -07:00
..
adr-docs bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
auth-provider
authtest Fix integration test for list users (#48276) 2023-02-27 15:11:13 +00:00
bkstats bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
build-tracker bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
buildchecker bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
check embeddings: searcher and indexer (#48017) 2023-03-01 10:50:12 +01:00
ci ranking: Cleanup path ranks table (#48678) 2023-03-06 07:38:50 -06:00
codeintel-qa codeintel: Remove oobmigration step from codeintel-qa (#47714) 2023-02-17 13:45:00 -06:00
corrupt-archives bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
db dev/deb: Remove scripts replaced by sg (#28767) 2021-12-08 23:22:00 +00:00
depgraph Housekeeping: Add package name aliases to avoid collisions with variables (#47180) 2023-01-31 16:28:57 +01:00
dx bazel: build //enterprise (#47327) 2023-02-07 15:30:46 +01:00
gqltest gqltest: output unexpected repos in context test (#48249) 2023-02-28 08:33:20 +02:00
grafana
internal/cmd bazel: update buildfiles (#48746) 2023-03-06 17:32:57 +00:00
linters bzl: fix broken :gazelle-update-repos (#48634) 2023-03-03 18:07:15 +01:00
nix nix: add p4-fusion building (#44588) 2022-11-23 16:06:28 +00:00
okay Housekeeping: Remove redundant stuff from Go code (#47104) 2023-01-30 20:39:40 +00:00
perforce bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
perforce-testing-helpers prettier (#40267) 2022-08-11 10:26:35 -06:00
phabricator web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
pr-auditor bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
prometheus otel: add collector dashboard (#45009) 2022-12-19 13:18:51 +01:00
release release-tool: automate in app batch changes changelog constants, refactor release sequence to consolidate baking steps (#48656) 2023-03-06 16:11:12 -07:00
scaletesting bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
sg sg: bazel command sets block until bazel build is complete before anything else. (#48620) 2023-03-03 13:58:50 +00:00
src-expose Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
team bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
tilt
zoekt zoekt: set -indexserver_proxy for webserver (#44995) 2022-12-02 08:38:44 +01:00
.gitignore
add_https_domain_to_hosts.sh
babel.bzl bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
BUILD.bazel bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
caddy.sh
Caddyfile dev/Caddyfile: use 127.0.0.1 instead of localhost (#38955) 2022-07-18 13:19:09 -07:00
CLA.txt
codecov.yml vscode: ignore vscode in Codecov (#32676) 2022-03-16 11:28:28 -04:00
codeinsights-db.sh insights: update references to TimescaleDB (#32948) 2022-03-29 11:04:47 +01:00
comby-install-or-upgrade.sh search: bump comby 1.8.1 (#37804) 2022-06-28 11:39:49 -07:00
ctags-install.sh dev: add installer script for building a local universal-ctag (#45198) 2022-12-06 18:32:21 +01:00
defs.bzl bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
dev-sourcegraph-server.sh
docsite.sh Upgrade docsite version to 1.9.1 in dev/docsite.sh (#47663) 2023-02-21 09:50:58 +01:00
drop-entire-local-database-and-redis.sh
foreach-ts-project.sh [SG-46115] - Merge the search-ui package into the branded package (#46197) 2023-01-11 18:27:19 +01:00
git-stats search: create and document git-stats script (#32663) 2022-03-16 13:41:17 +02:00
global-settings.json use new non-extensions-based panel, remove old HierarchicalLocationsView (#46052) 2023-02-10 10:34:49 -08:00
go-mod-update.sh
golangci-lint.sh dev: download golangci-lint instead of building it (#45259) 2022-12-06 17:52:58 +01:00
licenses.sh rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
mocha.bzl bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
postgres_exporter.sh migrations: Update postgres exporter queries for dirty database (#30774) 2022-02-10 17:40:09 -06:00
prune-pick.sh
redis-postgres.yml Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
redis.conf
run-server-image.sh gRPC: run tests with and without gRPC (#47770) 2023-02-17 12:38:41 -07:00
sass.bzl build: move build-config specific dependencies to build-config/package.json (#48072) 2023-02-22 19:25:07 -08:00
site-config.json Always disable user external service mode in UI (#44721) 2022-11-23 14:49:03 +01:00
src-prof-services.json Push executor metrics (#36969) 2022-08-03 12:08:04 +02:00
src-search-meta.sh GraphQL: remove deprecated resultCount field (#31573) 2022-02-21 12:03:36 -07:00
tools.go unrevert "all: rename go module google/zoekt to sourcegraph/zoekt" (#40423) 2022-08-17 15:30:49 -07:00
universal-ctags-dev dev: add installer script for building a local universal-ctag (#45198) 2022-12-06 18:32:21 +01:00
webpack.bzl bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00