Skip to content

Commit 4dfc9e2

Browse files
Merge pull request #12 from Tinder/update_version_logic
Update version logic
2 parents b22ca86 + e073c82 commit 4dfc9e2

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/main/java/com/bazel-diff/BUILD

-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
load("@rules_java//java:defs.bzl", "java_binary", "java_library", "java_proto_library")
22
load("@rules_proto//proto:defs.bzl", "proto_library")
33

4-
BAZEL_DIFF_VERSION = "1.0.1" # Update this when updating version!
5-
64
java_binary(
75
name = "bazel-diff",
86
main_class = "BazelDiff",
97
runtime_deps = [":java-bazel-diff-lib"],
10-
jvm_flags = ["-DBAZEL_DIFF_VERSION=%s" % BAZEL_DIFF_VERSION],
118
visibility = ["//visibility:public"]
129
)
1310

src/main/java/com/bazel-diff/VersionProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class VersionProvider implements IVersionProvider {
44
public String[] getVersion() throws Exception {
55
return new String[] {
6-
System.getProperty("BAZEL_DIFF_VERSION")
6+
"1.0.2"
77
};
88
}
99
}

0 commit comments

Comments
 (0)