mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
Hardcode the canton version in BuildInfo for now (#17673)
* hardcode the canton version for now * address comments
This commit is contained in:
parent
6592cb7bd5
commit
b12eb2adb6
@ -15,6 +15,8 @@ load(
|
||||
|
||||
### build-info ###
|
||||
|
||||
# TODO(https://github.com/DACH-NY/canton/issues/15106): read 'version' from the canton repository
|
||||
# once it is exposed in some file.
|
||||
genrule(
|
||||
name = "community_buildinfo_src",
|
||||
outs = ["BuildInfo.scala"],
|
||||
@ -23,10 +25,10 @@ cat << EOF > $@
|
||||
package com.digitalasset.canton.buildinfo
|
||||
|
||||
case object BuildInfo {{
|
||||
val version: String = "{sdk_version}"
|
||||
val version: String = "2.7.0-SNAPSHOT"
|
||||
val scalaVersion: String = "{scala_version}"
|
||||
val sbtVersion: String = "bazel"
|
||||
val damlLibrariesVersion: String = "2.7.0-SNAPSHOT"
|
||||
val damlLibrariesVersion: String = "{sdk_version}"
|
||||
val protocolVersions = List("3", "4", "5")
|
||||
override val toString: String = {{
|
||||
"version: %s, scalaVersion: %s, sbtVersion: %s, damlLibrariesVersion: %s, protocolVersions: %s".format(
|
||||
|
Loading…
Reference in New Issue
Block a user