Skip to content

Commit

Permalink
Trim version file contents (#607)
Browse files Browse the repository at this point in the history
While working in paywalls, we had issues because there was an extra line
break at the end of the `.version` file, which caused the text
substitution to not work correctly (it expected the existing text to
have a line break as well). This trims the contents of that file so we
don't have that issue moving forward.

This already exists in all our other SDKs
  • Loading branch information
tonidero authored Dec 22, 2023
1 parent 9b5bcc2 commit 5a3f1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def build_and_publish_typescript_package
end

def current_version_number
File.read("../.version")
File.read("../.version").strip
end

def push_pods
Expand Down

0 comments on commit 5a3f1e9

Please sign in to comment.