forked from uncrustify/uncrustify
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrelease-steps.txt
More file actions
64 lines (43 loc) · 1.73 KB
/
release-steps.txt
File metadata and controls
64 lines (43 loc) · 1.73 KB
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
Release steps.
Just in case I don't do a release for a while and forget what to do... =)
1. Make sure all tests pass
Run all tests (requires python):
make check
or
cd tests && ./run_tests.py
2. Make sure it builds on Windows
3. Update the version number and rebuild.
Replace the old version with the new version everywhere except in ChangeLog.
Specific files to update:
configure.in
documentation/htdocs/index.html
man/uncrustify.1 (man file)
src/uncrustify_version.h
Run "sh autogen.sh" and then "./configure".
Rebuild from scratch (make clean && make)
4. Update the config files
$ scripts/update-defaults.sh
5. Update the man file, if any command-line options have changed.
6. Update the ChangeLog to indicate the release date
7. Make sure there are no modified files in the workspace.
Check in all the changes you just made.
8. Create a dist tarball and make sure it works
$ make dist
Untar the file in a temporary folder and run './configure && make && make check'
NOTE: "make distcheck" doesn't work. It can't find the config.h file.
No idea why.
9. Create a GIT tag
$ git tag -a v0.55
10. Re-run 'make dist' and copy out the release tarball.
11. Update and build on windows
Copy the exe, ChangeLog, index.html, and all the .cfg files in etc into a
folder named "uncrustify-$UNC_REL-win32".
Zip up that folder using the folder name + ".zip"
Copy to the release folder on Linux
12. Update the web page files
$ cd uncrustify-$UNC_REL/
$ scp -r documentation/htdocs/* ChangeLog USER,uncrustify@web.sourceforge.net:htdocs/
13. Use the web interface (file manager) to create the release folder and
upload the files to sourceforge.
14. (optional) Create a news item
15. (optional) Update freshmeat.net project