dev:git:gitdiffzip
This is an old revision of the document!
Git: How to create an update package
In your local FP working copy, after pulling the commit the update package should target to:
git archive -o ../NAMEOFFILE.zip {TO} $(git diff --name-only {FROM} --diff-filter=ACMRTUXB)
(whereas {FROM} is the commit ID of the FP release the update package should be working on, and {TO} is the commit ID of the release the update package should bring you to.)
Examples:
- Update from 1.3 (commit ID 32771f9) to 1.4.1 (3345063):
git archive -o ../13to141.zip 3345063 $(git diff --name-only 32771f9 --diff-filter=ACMRTUXB)
- Update from 1.4.1 (3345063) to HEAD (latest development version):
git archive -o ../141toHEAD.zip HEAD $(git diff --name-only 3345063 --diff-filter=ACMRTUXB)
dev/git/gitdiffzip.1754304298.txt.gz ยท Last modified: by arvid
