diff options
| author | Volker Krause <vkrause@kde.org> | 2021-07-03 13:39:19 +0200 | 
|---|---|---|
| committer | Volker Krause <vkrause@kde.org> | 2021-07-03 13:39:19 +0200 | 
| commit | 462fe7fd93c50d15cd59d428eaf739671cd2c449 (patch) | |
| tree | 9a06959a5ed2c07e5b5f7602a09797d380d4362b /toolchain | |
| parent | f776d39546ff4f6752a8ba0a1963e02c3607ed05 (diff) | |
| download | extra-cmake-modules-462fe7fd93c50d15cd59d428eaf739671cd2c449.tar.gz extra-cmake-modules-462fe7fd93c50d15cd59d428eaf739671cd2c449.tar.bz2  | |
Trim whitespaces from description texts
This fixes spurious differences after a roundtrip through Google Play,
breaking change detection and thus triggering unnecessary metadata
updates.
Diffstat (limited to 'toolchain')
| -rwxr-xr-x | toolchain/generate-fastlane-metadata.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/generate-fastlane-metadata.py b/toolchain/generate-fastlane-metadata.py index 40059f0e..699806a9 100755 --- a/toolchain/generate-fastlane-metadata.py +++ b/toolchain/generate-fastlane-metadata.py @@ -147,7 +147,7 @@ def createFastlaneFile( applicationName, filenameToPopulate, fileContent ):          # Now write out file contents!          with open(path + '/' + filenameToPopulate, 'w') as f: -            f.write(text) +            f.write(text.strip()) # trim whitespaces, to avoid spurious differences after a Google Play roundtrip  # Create the summary appname.yml file used by F-Droid to summarise this particular entry in the repository  # see https://f-droid.org/en/docs/Build_Metadata_Reference/  | 
