Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 785a2ca

Browse files
authored
release-branch: v5.2.0 bake constants and static content (#57264)
1 parent c80b023 commit 785a2ca

File tree

7 files changed

+293
-5
lines changed

7 files changed

+293
-5
lines changed

client/web/src/enterprise/batches/list/BatchChangesChangelogAlert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import styles from './BatchChangesListIntro.module.scss'
1313
* Ie. After 5.0 is cut, this should be bumped to 5.1, and so on. This ensures we
1414
* always render the right changelog.
1515
*/
16-
const CURRENT_VERSION = '5.1'
16+
const CURRENT_VERSION = '5.2'
1717
/**
1818
* SHOW_CHANGELOG has to be set to true when a changelog entry is added for a release.
1919
* After every release, this will be set back to `false`. Chromatic will also verify

cmd/migrator/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ genrule(
301301
"schema-descriptions/v5.1.8-internal_database_schema.codeinsights.json",
302302
"schema-descriptions/v5.1.8-internal_database_schema.codeintel.json",
303303
"schema-descriptions/v5.1.8-internal_database_schema.json",
304+
"schema-descriptions/v5.1.9-internal_database_schema.codeinsights.json",
305+
"schema-descriptions/v5.1.9-internal_database_schema.codeintel.json",
306+
"schema-descriptions/v5.1.9-internal_database_schema.json",
304307
],
305308
cmd = "$(location generate.sh) $(@D)",
306309
tags = ["requires-network"],

cmd/migrator/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ git_versions=(
7676
v4.4.0 v4.4.1 v4.4.2
7777
v4.5.0 v4.5.1
7878
v5.0.0 v5.0.1 v5.0.2 v5.0.3 v5.0.4
79-
v5.1.0 v5.1.1 v5.1.2 v5.1.3 v5.1.4 v5.1.5 v5.1.6 v5.1.7 v5.1.8)
79+
v5.1.0 v5.1.1 v5.1.2 v5.1.3 v5.1.4 v5.1.5 v5.1.6 v5.1.7 v5.1.8 v5.1.9)
8080

8181
for version in "${git_versions[@]}"; do
8282
download_github "${version}"

internal/database/migration/shared/data/cmd/generator/consts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"github.com/sourcegraph/sourcegraph/internal/oobmigration"
77
)
88

9-
// NOTE: This should be kept up-to-date with cmd/migrator/build.sh so that we "bake in"
9+
// NOTE: This should be kept up-to-date with cmd/migrator/generate.sh so that we "bake in"
1010
// fallback schemas everything we support migrating to. The release tool automates this upgrade, so don't touch this :)
1111
// This should be the last minor version since patch releases only happen in the release branch.
12-
const maxVersionString = "5.1.0"
12+
const maxVersionString = "5.2.0"
1313

1414
// MaxVersion is the highest known released version at the time the migrator was built.
1515
var MaxVersion = func() oobmigration.Version {

internal/database/migration/shared/data/stitched-migration-graph.json

Lines changed: 284 additions & 0 deletions
Large diffs are not rendered by default.

internal/database/migration/stitch/reader.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ var ignoreMap = map[string]struct{}{
2323
"migrations_test.go": {},
2424
"README.md": {},
2525
"squashed.sql": {},
26+
"BUILD.bazel": {},
2627
}
2728

2829
// readRawMigrations reads migrations from a locally available git revision for the given schema.

internal/src-cli/consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ package srccli
66
// as the suggested download with this instance.
77
//
88
// At the time of a Sourcegraph release, this is always the latest src-cli version.
9-
const MinimumVersion = "5.1.2"
9+
const MinimumVersion = "5.2.0"

0 commit comments

Comments
 (0)