How to release RawTherapee: Difference between revisions

From RawPedia
Jump to navigation Jump to search
(Updated)
(Updated)
Line 4: Line 4:
# 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>
# Update RELEASE_NOTES.txt
# Tag the new release: <pre>git tag -a "5.0" -m "Tagged RawTherapee 5.0"</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>
Line 10: Line 10:
<!--
<!--
/* This commented-out section has not been updated since we used mercurial, and there's probably no need to. */
/* 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>
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:49, 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
  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