canmove, Confirmed users
2,056
edits
(find and replace versions only in .version and * files, not all files in the working directory (which catches files in .git as well)) |
(tag earlier, so we can use the tag to be specific about what we're archiving) |
||
Line 208: | Line 208: | ||
git commit -a -m"update SDK version to ${JPFV} for next test build" | git commit -a -m"update SDK version to ${JPFV} for next test build" | ||
Tag the repository with the test version: | |||
git tag ${JPNV} | |||
Create a tarball and a ZIP archive: | Create a tarball and a ZIP archive: | ||
git archive --format=zip --output addon-sdk-${JPNV}.zip --worktree-attributes --prefix addon-sdk-${JPFV}/ | git archive --format=zip --output addon-sdk-${JPNV}.zip --worktree-attributes --prefix addon-sdk-${JPFV}/ ${JPNV} | ||
git archive --format=tar --output addon-sdk-${JPNV}.tar --worktree-attributes --prefix addon-sdk-${JPFV}/ | git archive --format=tar --output addon-sdk-${JPNV}.tar --worktree-attributes --prefix addon-sdk-${JPFV}/ ${JPNV} | ||
gzip addon-sdk-${JPNV}.tar # makes addon-sdk-${JPNV}.tar.gz | gzip addon-sdk-${JPNV}.tar # makes addon-sdk-${JPNV}.tar.gz | ||
Line 229: | Line 233: | ||
{{note|you may need to set the --binary flag to the location of the binary of Firefox against which you want to test the build.}} | {{note|you may need to set the --binary flag to the location of the binary of Firefox against which you want to test the build.}} | ||
Push the stabilization branch and the tag to the canonical repository: | Push the stabilization branch and the tag to the canonical repository: |