Skip to content

Commit

Permalink
Update updateVersion.sh
Browse files Browse the repository at this point in the history
Properly add the new file to the commit
  • Loading branch information
Ignacio Bonafonte authored Jan 18, 2024
1 parent cf39899 commit bf59685
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/updateVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#Update version number
sed -E -i '' 's/public static let OTEL_SWIFT_SDK_VERSION = ".+"/public static let OTEL_SWIFT_SDK_VERSION = "'$2\"/ ./Sources/OpenTelemetrySdk/Version.swift
cat ./Sources/OpenTelemetrySdk/Version.swift
git add ./Sources/OpenTelemetrySdk/Version.swift
git commit -m "Updated version number to $2"
git tag -f $2
git push -f --tags origin HEAD:main

0 comments on commit bf59685

Please sign in to comment.