|
| 1 | +Follow these steps to create a Core Plot release and post it to GitHub: |
| 2 | + |
| 3 | +1. Ensure the following tools are installed on your development machine: |
| 4 | + |
| 5 | + * Xcode 5 |
| 6 | + * [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc), version 1.7.4 or later, installed in **/Applications** |
| 7 | + * [Graphviz](http://www.graphviz.org/Download_macos.php), version 2.28.0 or later |
| 8 | + |
| 9 | +2. Ensure the [change log](https://github.com/core-plot/core-plot/blob/master/documentation/changelog.markdown) is up-to-date and committed to the Git repository. |
| 10 | + |
| 11 | +3. Using Git, ensure your local Core Plot source directory is in sync with the public repository on GitHub. |
| 12 | + |
| 13 | +4. Open the Terminal application and `cd` to the root directory of your local Core Plot source directory. |
| 14 | + |
| 15 | +5. Tag the current revision with the release version: |
| 16 | + `$ git tag release_<version>` |
| 17 | + where <version> is the version number for this release. |
| 18 | + |
| 19 | +6. Change to the **scripts** folder: |
| 20 | + `$ cd scripts` |
| 21 | + |
| 22 | +7. Run the createrelease script: |
| 23 | + `$ python createrelease.py <version>` |
| 24 | + |
| 25 | +8. Review the messages printed in the Terminal window and verify that all build steps succeeded. |
| 26 | + |
| 27 | +9. The release products were placed in a folder called **CorePlot_<version>** and placed on your desktop. Open this folder and verify that the following subfolders and files are present: |
| 28 | + |
| 29 | + * **Binaries/iOS/** |
| 30 | + * **Binaries/MacOS/** |
| 31 | + * **Documentation/** |
| 32 | + * **READMEs/** |
| 33 | + * **Source/** |
| 34 | + * **License.txt** |
| 35 | + |
| 36 | +10. Right-click the release folder on your desktop and select **Compress "<filename>"** from the menu. |
| 37 | + |
| 38 | +11. Log into GitHub and navigate to the [Releases](https://github.com/core-plot/core-plot/releases) page. |
| 39 | + |
| 40 | +12. Click **Draft a new release**. |
| 41 | + |
| 42 | +13. Select the tag for the new release (`release_<version>`). |
| 43 | + Enter the following: |
| 44 | + |
| 45 | + * Release title: **Core Plot Release <version>** |
| 46 | + * Binaries: drag the Core Plot zip file on your desktop to the box |
| 47 | + |
| 48 | +14. Click **Publish release**. |
| 49 | + |
| 50 | +15. Change to the HTML documentation directory cloned from [https://github.com/core-plot/core-plot.github.io](): |
| 51 | + `cd ../documentation/html` |
| 52 | + |
| 53 | +16. Tag the current revision with the release version: |
| 54 | + `$ git tag release_<version>` |
| 55 | + where <version> is the version number for this release. |
0 commit comments