forked from jbber/wordpress-creative-commons-configurator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRELEASE_PROCEDURE.txt
85 lines (50 loc) · 2.11 KB
/
RELEASE_PROCEDURE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
POT FILE GENERATION
-------------------
1. Change version in plugin PHP file. Use an alpha or beta marker like 2.4.0a1
2. Run make_release.py
3. Push source language file to translation service:
tx push -s
FINAL RELEASE
-------------
1. Change version in plugin PHP file.
2. Add contributors, if required, in AUTHORS.
3. Change stable tag in readme.txt and 'Tested up to' if required.
4. Add link to changelog in the relevant section in readme.txt
5. Pull translations (only >80% completed):
tx pull --all --minimum-perc 80
For >80% reviewed:
tx pull --all --minimum-perc 80 --mode reviewed
(note: tx --debug pull --resource add-meta-tags.main --all --minimum-perc 80 --mode reviewed )
Or pull all available:
tx pull --all
6. Run ``make_release.py``.
7. Go to Transifex: https://www.transifex.com/projects/p/cc-configurator/resource/main/
And upload (Source File) the new POT file.
OR use the client as shown in step 1 below.
8. Push source language file to translation service:
tx push -s
(note: tx push --resource add-meta-tags.main --source -l none )
9. Mercurial:
- Add new translation files
- Commit changes
- Add tag. (format N.N.N)
10. Upload the created distribution file to CodeTRAX and close the relevant version.
11. Copy the created file in ``Wordpress.org\creative-commons-configurator-1\trunk`` and extract contents here.
12. Add any new files using:
svn add <file1> <dir1>
Also, remove outdated translations.
svn remove languages/lang1.po languages/lang1.mo
13. Commit the release:
svn status
svn commit -m "Committing the N.N.N release of Creative-Commons-Configurator"
11. Tag the new release in the SVN repository:
cd ..
svn cp trunk tags/N.N.N
svn commit -m "Tagging the N.N.N release"
Translations
------------
Compile PO to MO
- Linux:
msgfmt -c -f -o cc-configurator-xx_XX.mo cc-configurator-xx_XX.po
- Windows:
"C:\Program Files (x86)\Gettext\bin\msgfmt.exe" -c -f -o cc-configurator-xx_XX.mo cc-configurator-xx_XX.po