Skip to content

Commit

Permalink
Move trailing / in GlotPress URL to avoid redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Aug 15, 2024
1 parent 55d2f57 commit f6ca6b5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ SUPPORTED_LOCALES = [

GLOTPRESS_BASE_URL = 'https://translate.wordpress.com/projects'
# URL of the GlotPress project containing the app's strings
GLOTPRESS_APP_STRINGS_PROJECT_URL = "#{GLOTPRESS_BASE_URL}/simplenote/android".freeze
#
# Notice the trailing / is required.
# Without it, GlotPress will redirect to the version with /
GLOTPRESS_APP_STRINGS_PROJECT_URL = "#{GLOTPRESS_BASE_URL}/simplenote/android/".freeze
# URL of the GlotPress project containing the Play Store metadata (title, keywords, release notes, …)
GLOTPRESS_PLAYSTORE_METADATA_PROJECT_URL = "#{GLOTPRESS_APP_STRINGS_PROJECT_URL}/release-notes".freeze
GLOTPRESS_PLAYSTORE_METADATA_PROJECT_URL = "#{GLOTPRESS_APP_STRINGS_PROJECT_URL}release-notes".freeze

RELEASE_NOTES_SOURCE_PATH = File.join(PROJECT_ROOT_FOLDER, 'RELEASE-NOTES.txt')
RELEASE_NOTES_PATH = File.join(METADATA_FOLDER, 'release_notes.txt')
Expand Down

0 comments on commit f6ca6b5

Please sign in to comment.