How to release RawTherapee: Difference between revisions

From RawPedia
Jump to navigation Jump to search
(Updated)
No edit summary
Line 3: Line 3:
# Run: <pre>./tools/generateTranslationDiffs</pre> Perform final language file updates.
# Run: <pre>./tools/generateTranslationDiffs</pre> Perform final language file updates.
# Run: <pre>dos2unix rtdata/languages/* and rtdata/profiles/*</pre>
# Run: <pre>dos2unix rtdata/languages/* and rtdata/profiles/*</pre>
# Commit language files, profiles, and a new splash screen if needed.
# Once RELEASE_NOTES.txt, language files, profiles, a new splash screen, etc. are ready, commit to new branch: <pre>git checkout -b release-5.2-rc1 && git commit -a -m "Preparing for release 5.2-rc1"</pre>
# Update RELEASE_NOTES.txt
# Once others have revised the changes, merge this "release-5.2" branch into "releases" and tag: <pre>git tag -a "5.2-rc1" -m "Tagged RawTherapee 5.2-rc1"</pre>
# Tag the new release: <pre>git tag -a "5.0" -m "Tagged RawTherapee 5.0"</pre>
# Make a source tarball and upload it to the website: <pre>./tools/generateSourceTarball</pre>
# Make a source tarball and upload it to the website: <pre>./tools/generateSourceTarball</pre>
 
# When ready for a final release (5.2, not 5.2-rc3), do as above, merge "release-5.2" into "releases", tag and deleted "release-5.2". Never delete branch "releases".
<!--
/* This commented-out section has not been updated since we used mercurial, and there's probably no need to. */
 
To find new features from the changelog more easily, use:<pre>hg log --template '- {desc}\n' -b default -r "reverse(4.0.11::4.0.12)"</pre>
 
Running ''generateSourceTarball'' is the preferred method because it results in a tarball with metadata: <pre>./tools/generateSourceTarball 4.1</pre>If you need to make a tarball manually, use this, but beware some metadata (AboutThisBuild) will be missing: <pre style="white-space:pre-wrap;">tag="4.1"; time { hg archive --time -r ${tag} rawtherapee-${tag}.tar -X ".hg*" && xz -z -9e -T 8 rawtherapee-${tag}.tar; } && ll rawtherapee-*</pre>
 
# Update the changelog (replace "''4.1''" with whatever the latest tag currently is in "''reverse(4.1::tip)''"): <pre style="white-space:pre-wrap;">printf "%-12s\t" "  DATE" "| CHANGESET" "| COMMITTER"; printf "%s\n" "" "  --------------|---------------|-------------------------------------"; hg log --template '> {date|shortdate}\t| {node|short}\t| {author|person}\n  {desc|fill68}\n\n' -b default -r "reverse(4.0.12::tip)" | sed -e 's/^[^> ]/  &/' -e 's/[ ]\{0,1\}<natureh.510>//g; s/natureh.510/Hombre/g; s/natureh/Hombre/g; s/michael/Michael Ezra/g; s/dualon/Dualon/g; s/entertheyoni/DrSlony/g; s/ejmartin/Emil Martinec/g; s/wyatt/TheBigOne/g; s/google/thebluelabel/g; s/ghorvath/Gabor Horvath/g; s/ffsup2/Joker/g; s/jdc$/Jacques Desmis/g; s/jdesmis/Jacques Desmis/g; s/torger/Torger/g'</pre>
 
-->

Revision as of 14:07, 10 May 2017

  1. Tea
  2. Pull and update
  3. Run:
    ./tools/generateTranslationDiffs
    Perform final language file updates.
  4. Run:
    dos2unix rtdata/languages/* and rtdata/profiles/*
  5. Once RELEASE_NOTES.txt, language files, profiles, a new splash screen, etc. are ready, commit to new branch:
    git checkout -b release-5.2-rc1 && git commit -a -m "Preparing for release 5.2-rc1"
  6. Once others have revised the changes, merge this "release-5.2" branch into "releases" and tag:
    git tag -a "5.2-rc1" -m "Tagged RawTherapee 5.2-rc1"
  7. Make a source tarball and upload it to the website:
    ./tools/generateSourceTarball
  8. When ready for a final release (5.2, not 5.2-rc3), do as above, merge "release-5.2" into "releases", tag and deleted "release-5.2". Never delete branch "releases".