|
1 | | -~=~=~=~=~=~=~=~=~=~=~ |
| 1 | +--- |
| 2 | + |
2 | 3 | Checklist |
3 | 4 |
|
4 | | - [] Did you run clang format on all the files? (clang-format -style="{BasedOnStyle: webkit}" -i src/*) |
5 | | - [] Did it build on both windows and mac? |
6 | | - [] Did you open and close some files? |
| 5 | + * Did you run clang format on all the files? (`clang-format -style="{BasedOnStyle: webkit}" -i src/*`) |
| 6 | + * Did it build on both windows and mac? |
| 7 | + * Did you open and close some files? |
| 8 | + |
| 9 | +--- |
| 10 | + |
| 11 | +# How to release calchart: |
7 | 12 |
|
8 | | -~=~=~=~=~=~=~=~=~=~=~ |
| 13 | +CalChart uses CMake and Github actions to automate the release process. When you push a tag for the repository, github will build and package the release. |
9 | 14 |
|
10 | | -How to release calchart: |
| 15 | +The current calchart version is 3.6.3. In all commands below, substitute that number for `$CCVER` (meaning when you read `$CCVER`, type 3.6.3) |
11 | 16 |
|
12 | | -The current calchart version is 3.6.3. In all commands below, substitute that number for $CCVER (meaning when you read $CCVER, type 3.6.3) |
| 17 | + 1. Prebuild the project to make sure its working |
13 | 18 |
|
14 | | -0.1 LATEST_RELEASE_NOTES.md will get posted to the release by our CI bot, so update what bugs have been fixed. |
| 19 | + 2. Update LATEST_RELEASE_NOTES.md with all the changes (it will get posted to the release by our CI bot) |
15 | 20 |
|
16 | | -0.2 copy LATEST_RELEASE_NOTES.md into master README.md for the master record via this command: |
| 21 | + 3. copy LATEST_RELEASE_NOTES.md into master README.md for the master record via this command: |
17 | 22 |
|
18 | 23 | ``` |
19 | 24 | awk '//; /^# Release notes/{while(getline<"LATEST_RELEASE_NOTES.md"){print}}' README.md > tmp && mv tmp README.md |
20 | 25 | ``` |
21 | 26 |
|
22 | | -Because you sometimes run into build issues on one platform instead of another, do a build before you do a tag: |
23 | | -1. Prebuild the project to make sure its working |
24 | | - |
25 | | -2. Tag the depot |
| 27 | + 4. Tag the depot |
26 | 28 |
|
27 | 29 | ``` |
28 | 30 | $ git tag -a v3.6.3 -m "calchart-3.6.3" |
29 | 31 | $ git push origin v3.6.3 |
30 | 32 | ``` |
31 | 33 |
|
32 | | -This should trigger the github actions |
| 34 | +This should trigger the github action, which should publish release notes in Draft form. |
| 35 | + |
| 36 | + 5. Once the Release information looks good, Press the Publish Release button. |
33 | 37 |
|
34 | | -4. Go to the git Go to the sourceforge page at http://sourceforge.net/projects/calchart |
35 | | -You'll need to be logged in as Administrator to modify the files. |
| 38 | + 6. Download the Release artifacts to your machine. |
36 | 39 |
|
37 | | -5. Go to the sourceforge page at http://sourceforge.net/projects/calchart |
38 | | -You'll need to be logged in as Administrator to modify the files. |
| 40 | + 7. Go to the sourceforge page at http://sourceforge.net/projects/calchart. You'll need to be logged in as Administrator to modify the files. |
39 | 41 |
|
40 | | -6. Go to Project Admin -> File Manager |
| 42 | + 8. Go to Project Admin -> File Manager |
41 | 43 |
|
42 | | -7. Make a new directory for this version (click on the * next to root) |
| 44 | + 9. Make a new directory for this version (click on the * next to root) |
43 | 45 |
|
44 | | -8. Upload the README.txt to the new folder. Click on README.txt and edit the file details to signify it's a release notes. |
| 46 | + 10. Upload the `README.md` to the new folder. Click on `README.md` and edit the file details to signify it's a release notes. |
45 | 47 |
|
46 | | -9. Upload the CalChart-$CCVER.dmg to the folder. Click on dmg and edit the file details to signify its platform is Mac (OS X) and set the release_notes for the file. |
| 48 | + 11. Upload the `CalChart-$CCVER.dmg` to the folder. Click on dmg and edit the file details to signify its platform is Mac (OS X) and set the release_notes for the file. |
47 | 49 |
|
48 | | -10. Repeat for Install-CalChart-$CCVER.exe. Click on zip and edit the file details to signify its platform is Windows and set the release_notes for the file. |
| 50 | + 12. Repeat for `Install-CalChart-$CCVER.exe`. Click on zip and edit the file details to signify its platform is Windows and set the release_notes for the file. |
49 | 51 |
|
50 | | -11. Update https://github.com/calband/calchart/releases with Readme version updates. |
| 52 | + 13. Update https://github.com/calband/calchart/milestone by closing the shipped milestone and starting the next one. |
51 | 53 |
|
52 | | -12. Update https://github.com/calband/calchart/milestone by closing the shipped milestone and starting the next one. |
| 54 | + 14. Notify the world about the new version of CalChart. |
53 | 55 |
|
54 | | -13. Have a cookie. |
| 56 | + 15. Have a cookie. |
55 | 57 |
|
0 commit comments