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 [2025/08/04 12:44] โ€“ more details 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%>ย 
 +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!ย 
 +</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> <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.) (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: 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.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>   * 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.1754304298.txt.gz ยท Last modified: by arvid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki