User Tools

Site Tools


dev:git:gitdiffzip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:git:gitdiffzip [2024/04/07 12:24] – updated zip name arviddev:git:gitdiffzip [2026/01/18 11:43] (current) – added version list link arvid
Line 1: Line 1:
 ====== Git: How to create an update package ====== ====== Git: How to create an update package ======
-In your local FP working copy, after pulling the commit the update package should target to: +<WRAP right round important 60%> 
-<code>git archive -o ../12to13.zip HEAD $(git diff --name-only 9ce0674b577d2eb23ce66203a4ef74848c1cfe38 --diff-filter=ACMRTUXB)</code> +If the update requires a setup run (such as from 1.3 to 1.4), don't forget to add the complete setup folder to the update package! 
-(whereas //9ce0674b577d2eb23ce66203a4ef74848c1cfe38// is the commit ID of the FP release the update package should be working on)+</WRAP>In your local FP working copy, after pulling the commit the update package should target to: 
 +<WRAP clear/> 
 +<code>git archive -o ../NAMEOFFILE.zip {TO} $(git diff --name-only {FROM} --diff-filter=ACMRTUXB)</code> 
 +(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.) 
 + 
 +For the commit IDs of the individual FlatPress releases, see: [[doc:flatpress:releases|]] 
 + 
 +Examples: 
 +  * Update from 1.3 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.3|commit ID 32771f9]]) to 1.4.1 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.4.1|3345063]]):\\ <code>git archive -o ../13to141.zip 3345063 $(git diff --name-only 32771f9 --diff-filter=ACMRTUXB)</code> 
 +  * Update from 1.4.1 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.4.1|3345063]]) to HEAD (latest development version):\\ <code>git archive -o ../141toHEAD.zip HEAD $(git diff --name-only 3345063 --diff-filter=ACMRTUXB)</code>
dev/git/gitdiffzip.1712485469.txt.gz · Last modified: by arvid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki