File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
cmdline/src/main/java/io/opentdf/platform Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 4545import java .util .concurrent .ExecutionException ;
4646import java .util .function .Consumer ;
4747
48+ /**
49+ * Constants for the TDF command line tool.
50+ * These must be compile-time constants to appear in annotations.
51+ */
52+ class Versions {
53+ // Version of the SDK, managed by release-please.
54+ public static final String SDK = "0.7.6" ; // x-release-please-version
55+
56+ // This sdk aims to support this version of the TDF spec; currently 4.3.0.
57+ public static final String TDF_SPEC = "4.3.0" ;
58+ }
59+
4860@ CommandLine .Command (
4961 name = "tdf" ,
5062 subcommands = {HelpCommand .class },
51- version = "{\" version\" :\" 0.7.5\" ,\" tdfSpecVersion\" :\" 4.3.0\" }"
63+ version =
64+ "{\" version\" :\" " + Versions .SDK + "\" ,\" tdfSpecVersion\" :\" " + Versions .TDF_SPEC + "\" }"
5265)
5366class Command {
5467
Original file line number Diff line number Diff line change 88 "group-pull-request-title-pattern" : " chore(${branch}): release ${version}" ,
99 "packages" : {
1010 "." : {}
11- }
12- }
11+ },
12+ "extra-files" : [
13+ {
14+ "type" : " generic" ,
15+ "path" : " cmdline/src/main/java/io/opentdf/platform/Command.java"
16+ }
17+ ]
18+ }
You can’t perform that action at this time.
0 commit comments