update document... still probably out of date
This commit is contained in:
parent
24d66f6b81
commit
ab0c0a9aee
@ -1,57 +1,46 @@
|
|||||||
|
|
||||||
|
|
||||||
Steps for making a release:
|
Steps for making a release:
|
||||||
|
|
||||||
Prerequisites:
|
Prerequisites:
|
||||||
Must have clone of https://github.com/openrocket/openrocket.git
|
Must have clone of https://github.com/openrocket/openrocket.git
|
||||||
Must have working copy of openrocket's dists directory from sourceforge:
|
|
||||||
svn checkout --username=<username> svn+ssh://<username>@svn.code.sf.net/p/openrocket/code/dists dists
|
|
||||||
NOTE: the source code on sourceforge is dead and has been moved to github
|
|
||||||
|
|
||||||
The steps below will use '(git)' to note the step requires working in the files stored on github and '(svn)'
|
The steps below will use '(git)' to note the step requires working in the files stored on GitHub.
|
||||||
for files stored on sourceforge.
|
|
||||||
|
|
||||||
1. (git) Update core/resources/build.properties for the new version.
|
1. Update ./core/src/main/resources/build.properties for the new version.
|
||||||
|
|
||||||
2. (git) Update core/ReleaseNotes
|
2. Update ./ReleaseNotes.md
|
||||||
|
|
||||||
3. (git) Update core/ChangeLog
|
3. Update ./ChangeLog
|
||||||
|
|
||||||
4. (git) ant dist
|
4. gradlew clean test distFull
|
||||||
|
|
||||||
5. Test new features
|
5. Test new features
|
||||||
- Execute the jar created by the dist process.
|
- Execute the jar created by the distribution process in the ./build/libs folder.
|
||||||
- Do not execute it from the project directory.
|
- Do not execute it from the project directory.
|
||||||
|
|
||||||
6. (svn) Copy distribution files into dists project checked out from sourceforge
|
7. Update ./web/html/actions/updates.php and test various versions using a different url:
|
||||||
|
|
||||||
7. (git) Update core/web/html/actions/updates.php and test various versions
|
|
||||||
using a different url:
|
|
||||||
|
|
||||||
scp updates.php plaa,openrocket@web.sourceforge.net:htdocs/actions/testupdates.php
|
scp updates.php plaa,openrocket@web.sourceforge.net:htdocs/actions/testupdates.php
|
||||||
java -Dopenrocket.debug.updateurl=http://openrocket.sourceforge.net/actions/testupdates.php -jar OpenRocket-1.1.0.jar
|
java -Dopenrocket.debug.updateurl=http://openrocket.sourceforge.net/actions/testupdates.php -jar openrocket-22.02.jar
|
||||||
|
|
||||||
8. (git) Update HTML: core/web/htp/htp.def (version number) core/web/htp/news.htp (release info)
|
8. Update HTML: ./web/htp/htp.def (version number) ./web/htp/news.htp (release info)
|
||||||
|
|
||||||
9. Run "htp @" and check the web pages locally (htp is available from htp.sourceforge.net)
|
9. Run "htp @" and check the web pages locally (htp is available from htp.sourceforge.net)
|
||||||
|
|
||||||
10. Tag the version in Git 'git tag -a release-13.09'
|
10. Tag the version in Git 'git tag -a release-XX.YY'
|
||||||
|
|
||||||
11. Update Eclipse project and commit files+tag to git (OpenRocket and dists, 'git push origin release-13.09')
|
11. Commit files+tag to git (OpenRocket and dists, 'git push origin release-XX.YY')
|
||||||
(svn) commit changes to dists working directory to sourceforge
|
|
||||||
(git) commit and push changes to core/ including the tag.
|
|
||||||
|
|
||||||
12. Upload JAR and source distribution and ReleaseNotes to Sourceforge
|
12. Upload JAR and source distribution and ReleaseNotes to Sourceforge
|
||||||
- Files -> Add Folder -> Add File
|
- Files -> Add Folder -> Add File
|
||||||
|
|
||||||
13. Update HTML to web server:
|
13. Update HTML to web server:
|
||||||
cd core/web/html; scp * plaa,openrocket@web.sourceforge.net:htdocs/
|
cd ./web/html; scp * plaa,openrocket@web.sourceforge.net:htdocs/
|
||||||
|
|
||||||
14. Test downloading from Sourceforge and web site
|
14. Test downloading from GitHub and web site
|
||||||
|
|
||||||
15. Update update.php to web server:
|
15. Update update.php to web server:
|
||||||
|
|
||||||
cd core/web/html/actions/; scp updates.php plaa,openrocket@web.sourceforge.net:htdocs/actions/
|
cd ./web/html/actions/; scp updates.php plaa,openrocket@web.sourceforge.net:htdocs/actions/
|
||||||
|
|
||||||
16. Test update checking without specific options
|
16. Test update checking without specific options
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user