Skip to content

Commit

Permalink
Update release script (#1210)
Browse files Browse the repository at this point in the history
* Include en-CA in the release script so it gets the release notes

* Update branch in release script from `master` to `main`
  • Loading branch information
CDRussell authored Apr 29, 2021
1 parent 199c55c commit 76ced7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ platform :android do

sh("cp '../app/version/release-notes' '../fastlane/metadata/android/en-US/changelogs/#{flversion}.txt'")
sh("cp '../app/version/release-notes' '../fastlane/metadata/android/en-GB/changelogs/#{flversion}.txt'")
sh("cp '../app/version/release-notes' '../fastlane/metadata/android/en-CA/changelogs/#{flversion}.txt'")

end

Expand All @@ -93,6 +94,7 @@ platform :android do

sh("rm '../fastlane/metadata/android/en-US/changelogs/#{flversion}.txt'")
sh("rm '../fastlane/metadata/android/en-GB/changelogs/#{flversion}.txt'")
sh("rm '../fastlane/metadata/android/en-CA/changelogs/#{flversion}.txt'")

end

Expand Down Expand Up @@ -145,7 +147,7 @@ You can always reach us at https://duckduckgo.com/feedback.""")

sh "git flow release finish -mnFS '#{newVersion}' '#{newVersion}'"
push_git_tags
sh "git push origin master"
sh "git push origin main"
sh "git push origin develop"

UI.header("#{newVersion} has been successfully released 🎉")
Expand Down

0 comments on commit 76ced7d

Please sign in to comment.