How to release RawTherapee: Difference between revisions

From RawPedia
Jump to navigation Jump to search
(Added splash screen reminder)
 
(Updated)
Line 1: Line 1:
# Tea
# Tea
# Pull and update
# Pull and update
# Run: <pre>./tools/generateTranslationDiffs</pre> Perform final language file updates, remember to replace ampersands and other special HTML chars with HTML character entities where needed (not everywhere! always refer to "''default''"), make locale versions of translations (currently "''English (UK)''" and "''Polish (Latin Characters)''" files are generated automatically by ''generateTranslationDiffs''). If you made any changes, re-run the script.
# 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.
# Commit language files, profiles, and a new splash screen if needed.
# Update RELEASE_NOTES.txt, merge the changelog into it. 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>
# 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>
<!--
/* This commented-out section has not been updated since we used mercurial, and there's probably no need to. */
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>
# 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>
# Update RELEASE_NOTES.txt, merge the changelog into it. 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>
 
# Tag the new release: <pre>hg tag 4.1</pre>
-->
# Push the tag: <pre>hg push</pre>
# Make a source tarball and upload it to the website. 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>

Revision as of 20:48, 22 January 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. Commit language files, profiles, and a new splash screen if needed.
  6. Update RELEASE_NOTES.txt, merge the changelog into it. To find new features from the changelog more easily, use:
    hg log --template '- {desc}\n' -b default -r "reverse(4.0.11::4.0.12)"
  7. Tag the new release:
    git tag -a "5.0" -m "Tagged RawTherapee 5.0"
  8. Make a source tarball and upload it to the website:
    ./tools/generateSourceTarball