Confirmed users
471
edits
(update process to reflect new 'git-describe'-based no-.version version handling) |
(update process to reflect new 'git-describe'-based no-.version version handling. We might not yet be happy with the way release-candidates are turned into final releases.) |
||
Line 196: | Line 196: | ||
git checkout stabilization | git checkout stabilization | ||
Determine the version identifier for the beta or release candidate build. This should be the final release identifier (e.g. 1.2) with a suffix like "b1" or "rc2", e.g. "1.2b1": | |||
Set JPNV (Jetpack Next Version) to the next version being built (f.e. 1.2b2): | Set JPNV (Jetpack Next Version) to the next version being built (f.e. 1.2b2): | ||
export JPNV= | export JPNV=1.2b1 | ||
Tag the repository with the | Tag the repository with the new version identifier: | ||
git tag ${JPNV} | git tag ${JPNV} | ||
Line 228: | Line 208: | ||
Create a tarball and a ZIP archive: | Create a tarball and a ZIP archive: | ||
git archive --format=zip --output addon-sdk-${JPNV}.zip --prefix addon-sdk-${ | git archive --format=zip --output addon-sdk-${JPNV}.zip --prefix addon-sdk-${JPNV}/ ${JPNV} | ||
git archive --format=tar --output addon-sdk-${JPNV}.tar --prefix addon-sdk-${ | git archive --format=tar --output addon-sdk-${JPNV}.tar --prefix addon-sdk-${JPNV}/ ${JPNV} | ||
gzip addon-sdk-${JPNV}.tar # makes addon-sdk-${JPNV}.tar.gz | gzip addon-sdk-${JPNV}.tar # makes addon-sdk-${JPNV}.tar.gz | ||
{{note| | {{note|at present, the final release contains slightly different bits than the last release candidate: python-lib/cuddlefish/_version.py contains strings which are expanded by 'git archive' to include a tag name, which will be different in the rc and the final release. In addition, the unpacked directory name will be different.}} | ||
Copy the tarball/ZIP archive to the distribution server: | Copy the tarball/ZIP archive to the distribution server: |