Jetpack/Release Process: Difference between revisions

add a version bump to the Spin Test Builds step
(add a version bump to the Spin Test Builds step)
Line 175: Line 175:
  git checkout stabilization
  git checkout stabilization


Set JPTV (Jetpack Test Version) to the test version being built (f.e. 1.2b1):
Set JPCV (Jetpack Current Version) to the current version identifier (f.e. 1.2b1):
 
export JPCV=`cat .version`
 
Set JPTV (Jetpack Test Version) to the test version being built (f.e. 1.2b2):


  export JPTV=(TEST VERSION)
  export JPTV=(TEST VERSION)
Line 185: Line 189:
Otherwise, when building a release candidate, set JPFV to the version being released (f.e. 1.2):
Otherwise, when building a release candidate, set JPFV to the version being released (f.e. 1.2):


  export JPFV=(VERSION)
  export JPFV=(FINAL VERSION)
 
Change the version identifier in source files to the one for the test build:
 
find . -type f -exec perl -pi -e "s/${JPCV}/${JPTV}/g" {} \;
 
Verify that the version identifiers were changed correctly. In particular, make sure the find/replace command didn't modify strings that aren't SDK version identifiers but look similar to them (f.e. a version identifier in the jQuery library).
 
Commit the changes:
 
git commit -a -m"update SDK version for test build ${JPTV}"


Create a tarball and a ZIP archive:
Create a tarball and a ZIP archive:
canmove, Confirmed users
2,056

edits