NewVersion.md 2.72 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
15
16
2) * Merge 'open Branches' to **Develop**.
   * Merge 'Develop'  to **Master**.
   * 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

Carsten  Rose's avatar
Carsten Rose committed
47
   **Auto**: ./setVersion.sh 21.2.0
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

54
5) **Documentation**
Carsten  Rose's avatar
Carsten Rose committed
55

Carsten  Rose's avatar
Carsten Rose committed
56
   make doc-local   (dadurch fallen Fehler in der RESTdoc Syntax auf. TL: falls docker nicht laeuft: `chgrp docker /var/run/docker.sock; service docker restart` )
Carsten  Rose's avatar
Carsten Rose committed
57

58
6) **Update Version & Commit**
Carsten  Rose's avatar
Carsten Rose committed
59

Carsten  Rose's avatar
Carsten Rose committed
60
61
   * Commit & Push new version changes to master branch:

Carsten  Rose's avatar
Carsten Rose committed
62
     New version 21.2.0
Carsten  Rose's avatar
Typo    
Carsten Rose committed
63

Carsten  Rose's avatar
Carsten Rose committed
64
7) **New Tag**:
Carsten  Rose's avatar
Carsten Rose committed
65

Carsten  Rose's avatar
Carsten Rose committed
66
67
   git tag v21.2.0
   git push -u origin v21.2.0
Carsten  Rose's avatar
Carsten Rose committed
68

69
70
8) **Merge 'master' into 'develop'**

Carsten  Rose's avatar
Carsten Rose committed
71
9) Tickets:
Carsten  Rose's avatar
Carsten Rose committed
72
   * Schliessen und der QFQ Version zuweisen.
Carsten  Rose's avatar
Carsten Rose committed
73
   * Aktuellen Milestone schliessen
74

75
10) QFQ Doc aktualisieren
Carsten  Rose's avatar
Carsten Rose committed
76

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

79
11) Extension hochladen
Carsten  Rose's avatar
Carsten Rose committed
80
81
82

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

83

84
85
Upload new version to TER
=========================
Carsten  Rose's avatar
Carsten Rose committed
86

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