Taken from versioning/nutrition/prerelease.md at the time of the update
🔥 Feature: Updates to support different languages for the Nutrition Framework. Currently available languages are English and Portugese, with more coming soon. You can change your language by going to Clear and Other Settings > Change Language
Release Checklist
[x] Version number comment has been updated in the child shortcuts that are being changed
[x] Version number comment in child shorpy (Shortcut Python) files have been updated to match
[x] Child version dictionary has been updated in the Nutrition Installer Shortcut
[x] New framework version has been set in Nutrition Installer Shortcut
[x] Child version dictionary has been updated in the Nutrition Installer Shorpy file.
[x] New framework version has been set in Nutrition Installer Shorpy file.
[x] Beta Release Passed Testing
[x] Public Release Passed Testing
[x] Routine Hub has been updated
[x] Next update ticket has been made
Performing Beta Release
Run shortcut-update-tool (see its README) and proceed with the following instructions.
Paste the path of updates.json into the relevant field.
Click "Generate Test Updates"
Open versioning/nutrition/prelease.md to see all the shortcuts that are being updated for this version. For each shortcut do the following steps:
Click Add
Select the shortcut from the dropdown beside Shortcut to Update
Enter the new version number (this is usually specified in prelease.md but if not, it must always be higher than the current version)
Open the actual shortcut, and edit the version comment at the top of the shortcut to match the new version
Close the shortcut so the changes are saved, then get the iCloud link of the shortcut
Past the link in the "New Link" field
Click "Edit Shortcut PyFiles and Test Updates". This will:
Edit the version number comment in the Shorpy files (Shortcut Python Files) to match the new version
Modify nutrition/versioning/testupdates.json to hold the new version information and links for the shortcuts to be updated
Commit the changes to the shorpy files to the update ticket
Copy the generated JSON dictionary from the text box
Open the actual Nutrition Installer shortcut:
Find the matching text box in the shortcut and replace its contents with the new dictionary
Update the version number in the shortcut to the new framework version
Close the shortcut and then get the iCloud Link
Click "I've updated the version dictionary and version number...".
Enter the framework version number you chose in the "New Framework Version" field
Paste the iCloud link of the installer in the installer link field
Click "Update Installer PyFile and Test Updates". This will:
Update the installer shorpy file with the new dictionary, as well as its version number comment
Commit the changes to the Installer shorpy file to the update ticket
Copy the release notes in prerelease.md into the text box and press "Update Release Notes"
Commit your changes nutrition/versioning/testupdates.json and push all commits
Wait for all the changes to be published (i.e. the build to finish so a green tick appears beside the commit hash)
Associated Work Tickets
52
Official Release Notes
Taken from
versioning/nutrition/prerelease.md
at the time of the updateRelease Checklist
Performing Beta Release
Run shortcut-update-tool (see its README) and proceed with the following instructions.
Testing Beta Release
Promoting Beta Release To Public Release
With the still running shortcut-update-tool
Testing Public Release
These are the same steps as testing the beta release, but choose "Public Pipeline" rather than "Testing Pipeline"
Update RoutineHub Shortcut
If all steps are passed, you can update RoutineHub with the new version
version
fromversioning/nutrition/updates.json
.link
fromversioning/nutrition/updates.json
.versioning/nutrition/prelease.md