{"id":420,"date":"2009-07-22T01:32:48","date_gmt":"2009-07-22T05:32:48","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=420"},"modified":"2009-07-22T01:32:48","modified_gmt":"2009-07-22T05:32:48","slug":"making-raknet-releases-then-vs-now","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2009\/07\/22\/making-raknet-releases-then-vs-now\/","title":{"rendered":"Making RakNet releases, then vs. now"},"content":{"rendered":"<p>\t\t\t\t<strong>Then:<\/strong><\/p>\n<ol>\n<li>Rebuild all<\/li>\n<li>Run a batch file to delete temporary files (.obj, etc.)<\/li>\n<li>Zip the whole directory<\/li>\n<li>Add a comment to revisionlog.txt<\/li>\n<li>Upload it, overwriting the old file (RakNet.zip)<\/li>\n<li>Change the date on the front page<\/li>\n<li>If I remember, also change the version number in readme.txt<\/li>\n<\/ol>\n<p>It took me about 5 minutes to make a build. As a result, anytime I found a bug I&#8217;d basically release a build immediately.<\/p>\n<p><strong>Now:<\/strong><\/p>\n<ol>\n<li>Rebuild all<\/li>\n<li>Of the over 50 projects, fix the ones that no longer build<\/li>\n<li>Fix warnings introduced by various ifdefs<\/li>\n<li>Build on Code Blocks, adding new files. Fix compile errors\/warnings.<\/li>\n<li>Build on Dev-cpp, adding new files.<\/li>\n<li>Go to the source directory, do dir *.h, copy out file list to a text editor. Modify output to match formatting tags for makefiles. Copy output to makefile.<\/li>\n<li>Do the same for *.cpp<\/li>\n<li>Do a similar process for the VC6 project (if I bother)<\/li>\n<li>Build in Visual Studio again to make sure things still build<\/li>\n<li>Copy source files to CYGWIN. Figure out how to compile in GCC again, and fix any compile errors if any.<\/li>\n<li>Run through the easier to test projects to make sure the major features still superficially work<\/li>\n<li>Figure out when the last build was made, look up the log from SVN, and collect all the check-in log entries<\/li>\n<li>Format the log entries and add them to revisionlog.html. This is non-trivial, to prevent revisionlog from being unreadable<\/li>\n<li>Change the version number in readme.txt and RakNetVersion.h<\/li>\n<li>Update the remote dedicated server from SVN, rebuild, and restart<\/li>\n<li>Generate the Irrlicht demo exe. Download the .zip from the website, update the exe, and reupload<\/li>\n<li>In SVN, create a tag with the version number, which involves looking up how to do it each time<\/li>\n<li>Regenerate the Doxygen html documentation<\/li>\n<li>Run HTML help workshop to generate the chm documentation. Move the chm file out of the html file.<\/li>\n<li>If I remember, upload the new Doxygen documentation to the website<\/li>\n<li>Export from SVN to a temp directory.<\/li>\n<li>Zip the files in the temp directory. Sometimes there are unusual steps here, such as unzipping the ogre sample (lately I don&#8217;t bother to do that).<\/li>\n<li>Upload the zip to Sourceforge<\/li>\n<li>Figure out how to navigate the Sourceforge interface to get to the new releases page (which takes me a couple of minutes every time)<\/li>\n<li>Add a new release. Paste in the revision log from earlier. Add the file, and submit.<\/li>\n<li>Upload the same zip file to the website, making sure the version number of the filename of the zip file is correct.<\/li>\n<li>Open the 6 different pages on the website that reference the link and update them.<\/li>\n<li>Update the news page in the forum to point to the correct link<\/li>\n<li>Add a post to version announcements with the revision log.<\/li>\n<li>I used to also edit the download graphic with the correct version number. But this got to be such a pain I just changed it to 3.x so I wouldn&#8217;t have to keep modifying it.<\/li>\n<li>Sometimes send a post to gamedev.net about the new release (lately I don&#8217;t usually bother).<\/li>\n<li>Think about which of these steps I forgot, and sometimes redo part of this if I did.<\/li>\n<\/ol>\n<p>It takes about an hour to make a build. I do a build every 1-3 months, depending on if I find any major bugs and how stable I feel the code is. If I&#8217;m changing existing code every day I usually won&#8217;t release.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Then: Rebuild all Run a batch file to delete temporary files (.obj, etc.) Zip the whole directory Add a comment to revisionlog.txt Upload it, overwriting the old file (RakNet.zip) Change the date on the front page If I remember, also change the version number in readme.txt It took me about 5 minutes to make a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/420"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=420"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/420\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}