NewVersion.md 2.53 KB
Newer Older
1
2
3
Neuer Build
===========

Carsten  Rose's avatar
test    
Carsten Rose committed
4

5
6
7
* release: Wird ein *Tag* vergeben (egal welcher Branch) der mit 'v' beginnt, erzeugt das automatisch einen Build - https://w3.math.uzh.ch/qfq/release.
* snapshot: Jeder Commit (egal welcher Branch) erzeugt einen Snapshot - https://w3.math.uzh.ch/qfq/snapshot.
* nightly: Nach einem Commit auf Branch 'master' tagsueber, wird um 23:55 ein 'nightly' Build erstellt - https://w3.math.uzh.ch/qfq/nightly.
Carsten  Rose's avatar
Carsten Rose committed
8
9
10
11

Neue Versionsnummer
===================

12
1) Fuer jede neue Version ein Ticket erstellen. Template: #6994
13

14
2) * Merge 'open Branches' to **Develop**.
Carsten  Rose's avatar
Carsten Rose committed
15
   * Merge 'Develop' to **Master**.
16
   * Checkout **Master**.
Carsten  Rose's avatar
Carsten Rose committed
17

18
3) Die aktuellen Commits anschauen und wichtige Topics uebernehmen (git log > ~/qfq.log, alles bis zum letzten TAG anschauen):
19

Carsten  Rose's avatar
Carsten Rose committed
20
   * **All commits since last tag**:
Carsten  Rose's avatar
Carsten Rose committed
21
22
     git log $(git describe --tags --abbrev=0)..HEAD --oneline | cut -c9- > /tmp/out; pluma  /tmp/out

Carsten  Rose's avatar
Carsten Rose committed
23
24
       * All commits since tag 'v20.11.0'
         git log v20.11.0..HEAD --oneline
Carsten  Rose's avatar
Carsten Rose committed
25
26

       * complicated:
Carsten  Rose's avatar
Carsten Rose committed
27
         git log | grep -v -e '^commit ' -e  '^Author: ' -e '^Date: ' -e '^Merge: ' > /tmp/out; pluma  /tmp/out
Carsten  Rose's avatar
Carsten Rose committed
28

29
   * **Anpassen**: qfq/extension/Documentation/Release.rst
Carsten  Rose's avatar
Carsten Rose committed
30

Carsten  Rose's avatar
Carsten Rose committed
31
   * Release.rst **verteilen**:  make copyReleaseNotes
Carsten  Rose's avatar
Carsten Rose committed
32

33
   * Manuell:
Carsten  Rose's avatar
Carsten Rose committed
34

35
36
     * Den Inhalt von Release.rst kopieren nach qfq/extension/RELEASE.txt.
     * Den Inhalt von Release.rst kopieren nach CHANGELOG.md.
Carsten  Rose's avatar
Carsten Rose committed
37

Carsten  Rose's avatar
Carsten Rose committed
38
   * Tickets
Carsten  Rose's avatar
Carsten Rose committed
39

Carsten  Rose's avatar
Carsten Rose committed
40
     * Alle offenen Tickets im aktuellen Milestones verschieben auf den naechsten Milestone.
Carsten  Rose's avatar
Carsten Rose committed
41
     * Abgeschlossene Tickets schliessen.
42

43
4) In folgenden Files anpassen:
44

Carsten  Rose's avatar
Carsten Rose committed
45
   **Achtung**: die Release Minor darf KEINE fuehrenden Nullen enthalten!!! Ansonsten funktioniert die Verteilung vie TER nicht.
46

47
   **Auto**: ./setVersion.sh 21.5.0a
Carsten  Rose's avatar
Carsten Rose committed
48

49
   Manuell:
Carsten  Rose's avatar
Carsten Rose committed
50
     * extension/Documentation/_make/conf.py: release, version-
51
     * Documentation/Settings.cfg: version
52
     * extension/ext_emconf.php: version
Carsten  Rose's avatar
Carsten Rose committed
53

Carsten  Rose's avatar
Carsten Rose committed
54
5) **Update Version & Commit**
Carsten  Rose's avatar
Carsten Rose committed
55

56
57
58
   * **Commit & Push** to master branch:  
   
     New version 21.5.0a
Carsten  Rose's avatar
Typo    
Carsten Rose committed
59

Carsten  Rose's avatar
Carsten Rose committed
60
6) **New Tag**:
Carsten  Rose's avatar
Carsten Rose committed
61

62
63
   git tag v21.5.0a
   git push -u origin v21.5.0a
Carsten  Rose's avatar
Carsten Rose committed
64

Carsten  Rose's avatar
Carsten Rose committed
65
7) **Merge 'master' into 'develop'**
66

Carsten  Rose's avatar
Carsten Rose committed
67
8) Tickets:
Carsten  Rose's avatar
Carsten Rose committed
68
   * Schliessen und der QFQ Version zuweisen.
Carsten  Rose's avatar
Carsten Rose committed
69
   * Aktuellen Milestone schliessen
70

Carsten  Rose's avatar
Carsten Rose committed
71
9) QFQ Doc aktualisieren
Carsten  Rose's avatar
Carsten Rose committed
72

73
   Erfolgt implicit durch Commit in Branch Master & Develop.
Carsten  Rose's avatar
Carsten Rose committed
74

Carsten  Rose's avatar
Carsten Rose committed
75
10) Extension hochladen
Carsten  Rose's avatar
Carsten Rose committed
76
77
78

   TER: https://extensions.typo3.org/ > Log in > My Extensions.

79

80
81
Upload new version to TER
=========================
Carsten  Rose's avatar
Carsten Rose committed
82

83
84
* https://extensions.typo3.org/ > Log in > My Extensions.
* Rename the ZIP file to be TER compatible: e.g. qfq_18.6.0.zip.
85
* Upload - that's all.