How to release RawTherapee
Tea
Pull and update
Run: ./tools/generateTranslationDiffs
Perform final language file updates.
Run: dos2unix rtdata/languages/* rtdata/profiles/*
Update splash screen,
RELEASE_NOTES.txt, AppData, language files, profiles, etc. Once ready, commit to new branch::git checkout -b release-5.10 :git commit -a -m "Preparing for release 5.10-rc1" :git push --set-upstream origin release-5.10Once others have revised the changes, merge this
release-5.10branch intoreleases::git checkout releases :git pull :git merge release-5.10Tag and push:
:git tag -a "5.10-rc1" -m "Tagged RawTherapee 5.10-rc1" :git push origin "5.10-rc1" :git pushMake a source tarball: ./tools/generateSourceTarball
sha1sum rawtherapee-5.10-rc1.tar.xz > rawtherapee-5.10-rc1.tar.xz.sha1Over at GitHub, create a release for the new tag. Copy the description from the previous tag, updating the version as necessary. Attach the source tarball and hash file to the release: https://github.com/Beep6581/RawTherapee/tags
Upload the source tarball and hash file to the website, to
shared/source.Upload Linux/Windows/macOS installers/packages to the website, to
shared/builds.Update the website, see https://gitlab.com/patdavid/rawtherapee-web/-/blob/master/README.md
cdinto your cloned website repo and runhugo(no arguments) to generate the static website in the/publicfolder.- Log in via ssh,
cd rawtherapee.com/web/and run./danger_cleanup_hugo.shto delete the contents of thepublicfolder without deleting files placed there manually and used by third-party services (screenshots for appdata, etc). - Then upload everything from inside your local
publicfolder.
When ready for a final release (5.10, not 5.10-rc1), do as above, merge
release-5.10 into releases, tag 5.10, finally deleted branch
release-5.10. Never delete branch releases.
Once done with the release, you may need to merge releases back into
dev if new commits were made exclusively to the release-5.10 branch.
To do that,
git checkout releases,- Edit
RELEASE_NOTES.txtand revert the contents to describe the development build (git show dev:RELEASE_NOTES.txt). - Edit the splash screen in Inkscape to revert it to the dev one.
git commit -a -m "Preparing to merge back to dev"git checkout devgit merge releasesgit push