Skip to content

Commit 875e64d

Browse files
committed
Do not attempt to use TeamCity for git clone
1 parent ff699fd commit 875e64d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.teamcity/additionalConfiguration.kt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,13 @@ fun Project.additionalConfiguration() {
2727
}
2828
}
2929

30-
vcsRoot(EggertTzRepo)
31-
3230
BuildType {
3331
id("Check_Updates")
3432
name = "Check for timezone database updates"
3533
description = "Queries the Internet to see if the timezone data was updated"
3634

3735
vcs {
3836
root(DslContext.settingsRoot)
39-
root(EggertTzRepo, "+:. => tz")
4037
}
4138

4239
steps {
@@ -45,6 +42,7 @@ fun Project.additionalConfiguration() {
4542
id = "Check_if_a_new_version_of_the_timezone_database_is_present"
4643
scriptContent = """
4744
set -efu
45+
git clone https://github.com/eggert/tz
4846
latest_tag=$(git -C tz/ describe --abbrev=0 --tags)
4947
current_tag=$(grep tzdbVersion gradle.properties | cut -d= -f2)
5048
if [ "${'$'}latest_tag" != "${'$'}current_tag" ]; then
@@ -88,9 +86,3 @@ fun Project.additionalConfiguration() {
8886
}
8987
}.also { buildType(it) }
9088
}
91-
92-
object EggertTzRepo : GitVcsRoot({
93-
name = "Timezone database repository"
94-
url = "https://github.com/eggert/tz"
95-
branch = "refs/heads/main"
96-
})

0 commit comments

Comments
 (0)