Fix typo
This commit is contained in:
@@ -99,12 +99,12 @@ printf "\n======================================================================
|
|||||||
versionsFile="./plugins/src/main/kotlin/Versions.kt"
|
versionsFile="./plugins/src/main/kotlin/Versions.kt"
|
||||||
# The version of the release must match the date of next monday, where the release is supposed to go live
|
# The version of the release must match the date of next monday, where the release is supposed to go live
|
||||||
# The command below gets the date of next monday
|
# The command below gets the date of next monday
|
||||||
newtMondayDateCommand="date -v +1w -v -monday"
|
nextMondayDateCommand="date -v +1w -v -monday"
|
||||||
# Get release year on 2 digits
|
# Get release year on 2 digits
|
||||||
versionYearCandidate=$(${newtMondayDateCommand} +%y)
|
versionYearCandidate=$(${nextMondayDateCommand} +%y)
|
||||||
currentVersionMonth=$(grep "val versionMonth" ${versionsFile} | cut -d " " -f6)
|
currentVersionMonth=$(grep "val versionMonth" ${versionsFile} | cut -d " " -f6)
|
||||||
# Get release month on 2 digits
|
# Get release month on 2 digits
|
||||||
versionMonthCandidate=$(${newtMondayDateCommand} +%m)
|
versionMonthCandidate=$(${nextMondayDateCommand} +%m)
|
||||||
versionMonthCandidateNoLeadingZero=${versionMonthCandidate/#0/}
|
versionMonthCandidateNoLeadingZero=${versionMonthCandidate/#0/}
|
||||||
currentVersionReleaseNumber=$(grep "val versionReleaseNumber" ${versionsFile} | cut -d " " -f6)
|
currentVersionReleaseNumber=$(grep "val versionReleaseNumber" ${versionsFile} | cut -d " " -f6)
|
||||||
# if the release month is the same as the current version, we increment the release number, else we reset it to 0
|
# if the release month is the same as the current version, we increment the release number, else we reset it to 0
|
||||||
|
|||||||
Reference in New Issue
Block a user