Skip to content

Commit 3b80963

Browse files
committed
Fix the locmapper build number bump script
1 parent 0e07745 commit 3b80963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/bump_locmapper_build_number.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ fi
1919

2020
# Change hard-coded version in LocMapper CLI
2121
version="$(xct versions --output-format json --targets "LocMapper CLI" get-versions | jq -r .reduced_build_version_for_all)" || exit 3
22-
sed -i '' -E 's|^.*__VERSION_LINE_TOKEN__.*$| static var version = "'"$version"'" /* Do not remove this token, it is used by a script: __VERSION_LINE_TOKEN__ */|' "./LocMapper CLI/main.swift"
22+
sed -i '' -E 's|^.*__VERSION_LINE_TOKEN__.*$| static let version = "'"$version"'" /* Do not remove this token, it is used by a script: __VERSION_LINE_TOKEN__ */|' "./LocMapper CLI/main.swift"
2323
git commit -a --amend --no-edit

0 commit comments

Comments
 (0)