From 85333e03a42b0a0c2dfc91438e6bde85cf1341c5 Mon Sep 17 00:00:00 2001 From: Alex Plate Date: Thu, 27 Jul 2023 12:57:01 +0300 Subject: [PATCH] [TC] Add additional git pull --- .../src/main/kotlin/scripts/release/calculateNewDevVersion.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/src/main/kotlin/scripts/release/calculateNewDevVersion.kt b/scripts/src/main/kotlin/scripts/release/calculateNewDevVersion.kt index 550d2aef5b..53230dafa4 100644 --- a/scripts/src/main/kotlin/scripts/release/calculateNewDevVersion.kt +++ b/scripts/src/main/kotlin/scripts/release/calculateNewDevVersion.kt @@ -20,6 +20,7 @@ fun main(args: Array) { "We should be on master branch" } val git = getGit(projectDir) + git.pull().call() val log = git.log().setMaxCount(500).call() println("First commit hash in log: " + log.first().name) val logDiff = log.takeWhile { it.id.name != objectId.name }