Jetpack/Release Process: Difference between revisions

clarify expected differences between the last rc tarball and the final tarball
(clarify expected differences between the last rc tarball and the final tarball)
Line 346: Line 346:
Retrieve, unpack, and compare the last release candidate tarball against the
Retrieve, unpack, and compare the last release candidate tarball against the
newly generated one. The only difference should be the embedded version
newly generated one. The only difference should be the embedded version
string:
string. Since the same git revision referenced by both tags (JPRCV and JPFV), the
embedded git_refnames= string in the final tarball will contain both tags (JPRCV,JPFV).
The code that analyzes git_refnames= will prefer the shorter number-bearing string:


  scp stage.mozilla.org:/pub/mozilla.org/labs/jetpack/addon-sdk-${JPRCV}.tar.gz ./
  scp stage.mozilla.org:/pub/mozilla.org/labs/jetpack/addon-sdk-${JPRCV}.tar.gz ./
Line 353: Line 355:
  diff -urN addon-sdk-${JPRCV} addon-sdk-${JPFV}
  diff -urN addon-sdk-${JPRCV} addon-sdk-${JPFV}
  # should show one line different in python-lib/cuddlefish/_version.py
  # should show one line different in python-lib/cuddlefish/_version.py
  # git_refnames= should change from JPRCV to JPFV
  # git_refnames= should change from (JPRCV,..) to (JPRCV,JPFV,..). e.g.:
#  git_refnames = " (HEAD, 1.4rc4, origin/stabilization, stabilization)"
#    changes to
#  git_refnames = " (HEAD, 1.4rc4, 1.4, origin/stabilization, stabilization)"


In the newly generated and unpacked tarball, confirm that the code reports
In the newly generated and unpacked tarball, confirm that the code reports
the correct version:
the correct version (and *not* the rcN version):


  addon-sdk-${JPFV}/bin/cfx --version
  addon-sdk-${JPFV}/bin/cfx --version
Confirmed users
471

edits