Build Test Packages From A Release Branch/de: Difference between revisions
From Joomla! Documentation
Created page with "Um Pakete aus deinem Feature-Zweig zu erstellen, musst du nur zwei Änderungen am Build-Skript vornehmen." |
Created page with "===Starten des Skripts===" |
||
Line 13: | Line 13: | ||
** Change this line to read <tt>"$command = $gitPath . ' diff tags/' . $previousTag . ' BRANCH-NAME --name-status > diffdocs/' . $version . '.' . $num;"</tt> and replace your branch name as appropriate | ** Change this line to read <tt>"$command = $gitPath . ' diff tags/' . $previousTag . ' BRANCH-NAME --name-status > diffdocs/' . $version . '.' . $num;"</tt> and replace your branch name as appropriate | ||
=== | ===Starten des Skripts=== | ||
So long as you don't have any PHP syntax errors and each of the release tags are available in your local checkout, you should be able to run the build script and have full packages ready for testing. | So long as you don't have any PHP syntax errors and each of the release tags are available in your local checkout, you should be able to run the build script and have full packages ready for testing. | ||
Revision as of 14:15, 19 October 2019
Gelegentlich müssen neue Funktionen und vorhandene Fehler während der Installation oder des Updates zwischen Joomla! Versionen getestet werden. Das Build-Skript, das sich im CMS Repo auf GitHub befindet, kann einfach verändert werden, um Pakete aus einem feature branch zu erstellen, und führt zu einer vollständigen Palette von Paketen (Vollinstallation und Update) zur Verwendung.
Voraussetzungen
Um die Pakete zu erstellen, muss dein lokaler Checkout mit der Basis Joomla! CMS Repo synchronisiert sein, um alle Release-Tags zu enthalten. Das ist wichtig, da das Build-Skript die bei jedem Release erstellten Git-Tags verwendet, um die Update-Pakete zu erstellen. Als nächstes sollte dein Feature-Zweig mit dem Staging-Zweig aus dem Joomla! CMS Repo synchronisiert werden, um sicherzustellen, dass der aktuelle Code zusätzlich zu deinen vorgeschlagenen Änderungen getestet wird.
Bearbeiten des build scripts
Um Pakete aus deinem Feature-Zweig zu erstellen, musst du nur zwei Änderungen am Build-Skript vornehmen.
- Line 66:
- Change this line to read "system($gitPath . ' archive BRANCH-NAME | tar -x -C ' . $fullpath);" and replace your branch name as appropriate
- Line 144:
- Change this line to read "$command = $gitPath . ' diff tags/' . $previousTag . ' BRANCH-NAME --name-status > diffdocs/' . $version . '.' . $num;" and replace your branch name as appropriate
Starten des Skripts
So long as you don't have any PHP syntax errors and each of the release tags are available in your local checkout, you should be able to run the build script and have full packages ready for testing.