File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,13 @@ fun Project.additionalConfiguration() {
27
27
}
28
28
}
29
29
30
- vcsRoot(EggertTzRepo )
31
-
32
30
BuildType {
33
31
id(" Check_Updates" )
34
32
name = " Check for timezone database updates"
35
33
description = " Queries the Internet to see if the timezone data was updated"
36
34
37
35
vcs {
38
36
root(DslContext .settingsRoot)
39
- root(EggertTzRepo , " +:. => tz" )
40
37
}
41
38
42
39
steps {
@@ -45,6 +42,7 @@ fun Project.additionalConfiguration() {
45
42
id = " Check_if_a_new_version_of_the_timezone_database_is_present"
46
43
scriptContent = """
47
44
set -efu
45
+ git clone https://github.com/eggert/tz
48
46
latest_tag=$(git -C tz/ describe --abbrev=0 --tags)
49
47
current_tag=$(grep tzdbVersion gradle.properties | cut -d= -f2)
50
48
if [ "${' $' } latest_tag" != "${' $' } current_tag" ]; then
@@ -88,9 +86,3 @@ fun Project.additionalConfiguration() {
88
86
}
89
87
}.also { buildType(it) }
90
88
}
91
-
92
- object EggertTzRepo : GitVcsRoot({
93
- name = " Timezone database repository"
94
- url = " https://github.com/eggert/tz"
95
- branch = " refs/heads/main"
96
- })
You can’t perform that action at this time.
0 commit comments