Skip to content

Commit

Permalink
[8.0.0] Bump lockfile version after changes to canonical names (#24381)
Browse files Browse the repository at this point in the history
aa7317f changed the canonical name of repositories generated by
`use_repo_rule`, which should have been accompanied by a bump of the
lockfile version.

Should fix
#24171 (comment)

Closes #24363.

PiperOrigin-RevId: 697924369
Change-Id: I3b2876ea3fab86d5ab9c7e08f8c9ce607573c56c

Commit
71227bf

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
  • Loading branch information
bazel-io and fmeum authored Nov 19, 2024
1 parent 1de6e5e commit 8b0b0f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public abstract class BazelLockFileValue implements SkyValue {
// https://cs.opensource.google/bazel/bazel/+/release-7.3.0:src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelLockFileModule.java;l=120-127;drc=5f5355b75c7c93fba1e15f6658f308953f4baf51
// While this hack exists on 7.x, lockfile version increments should be done 2 at a time (i.e.
// keep this number even).
public static final int LOCK_FILE_VERSION = 12;
public static final int LOCK_FILE_VERSION = 14;

@SerializationConstant public static final SkyKey KEY = () -> SkyFunctions.BAZEL_LOCK_FILE;

Expand Down
2 changes: 1 addition & 1 deletion src/test/tools/bzlmod/MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b0b0f8

Please sign in to comment.