Automattic / simplenote-ios

Simplenote for iOS
https://simplenote.com
GNU General Public License v2.0
2.05k stars 284 forks source link

Make Fastlane the single source of truth for release notes #1647

Closed mokagio closed 2 months ago

mokagio commented 2 months ago

Following up on what discussed at in https://github.com/Automattic/simplenote-ios/pull/1639#discussion_r1718251107. Also see internal ref pdnsEh-1Qv-p2.

Removes Simplenote/Resources/release_notes.txt and uses fastlane/metadata/default/release_notes.txt as the single source of truth for release notes to send to localization.

Implementation considerations

Ignore fastlane/metadata/default/release_notes.txt? (No) I briefly considered not tracking the file under Git because we generate it from RELEASE-NOTES.txt. I discarded that option because RELEASE-NOTES.txt contains "raw" release notes, or, let's say, release notes formatted for an audience of developers. The release notes in fastlane/metadata/default/release_notes.txt on the other hand, should be formatted for users to read.

Ignore `fastlane/metadata//release_notes.txt? (No)** When implementing the code to deleted the previous localizedrelease_notes.txt` entries and commit the result I also wondered whether we wouldn't be better served by Git-ignoring those files and downloading them from GlotPress when it's time to update the metadata on ASC. I decided against that for two reasons:

Other pieces to update?

Test

I created a test branch on top of this one, hacked code_freeze to run the automation and verified the results. See XXX

Review

Only one infra engineer required to review these changes, but anyone can perform the review.

Release

These changes do not require release notes.

dangermattic commented 2 months ago
1 Warning
:warning: This PR is assigned to the milestone 4.53. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by :no_entry_sign: Danger

wpmobilebot commented 2 months ago
Simplenote Prototype Build📲 You can test the changes from this Pull Request in Simplenote Prototype Build by scanning the QR code below to install the corresponding build.
App NameSimplenote Prototype Build Simplenote Prototype Build
Build Numberpr1647-bf66628-0191ba26-bb74-4e1e-8aa5-0ba699cbb283
Version4.52
Bundle IDcom.codality.NotationalFlow.Alpha
Commitbf666288471c27569fa35aa72263431fc5c9e73f
App Center BuildSimplenote - Installable Builds #346
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
AliSoftware commented 2 months ago

Ignore fastlane/metadata/**/release_notes.txt? (No)

A 3rd reason I like for not git-ignoring those is simple so that they are tracked in git. So we can see what translations were used in an old commit and have the history.

mokagio commented 2 months ago

Thanks for the suggestions @AliSoftware. Addressed via 439bc6c9