[skip ci] fix: Fix bug in bump script
This commit is contained in:
2
.github/scripts/bump-versions.sh
vendored
2
.github/scripts/bump-versions.sh
vendored
@ -43,7 +43,7 @@ bumpMultisrcVersion() {
|
||||
local generator=$(echo $themePath/*Generator.kt)
|
||||
bumpedFiles+="$generator " # Needed to commit the changes
|
||||
|
||||
local sourceLine=$(grep -i $sourceName $generator)
|
||||
local sourceLine=$(grep "Lang(" $generator | grep -i $sourceName)
|
||||
local oldVersion=$(echo $sourceLine | getVersion $generator)
|
||||
local newVersionStr="$multisrcVersionStr $((oldVersion + 1))"
|
||||
|
||||
|
Reference in New Issue
Block a user