Follow these steps to create a Core Plot release and post it to GitHub:
-
Ensure the following tools are installed on your development machine:
- Xcode 5
- [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc), version 1.8.6 or later, installed in /Applications
- [Graphviz](http://www.graphviz.org/Download_macos.php), version 2.34.0 or later
-
Ensure the change log and podspec are up-to-date and committed to the Git repository.
-
Using Git, ensure your local Core Plot source directory is in sync with the public repository on GitHub.
-
Open the Terminal application and
cd
to the root directory of your local Core Plot source directory. -
Tag the current revision with the release version:
$ git tag release_<version>
where <version> is the version number for this release.
-
Change to the scripts folder:
$ cd scripts
-
Run the createrelease script:
$ python createrelease.py <version>
-
Review the messages printed in the Terminal window and verify that all build steps succeeded.
-
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:
- Binaries/iOS/
- Binaries/MacOS/
- Documentation/
- READMEs/
- Source/
- License.txt
-
Right-click the release folder on your desktop and select Compress "<filename>" from the menu.
-
Log into GitHub and navigate to the Releases page.
-
Click Draft a new release.
-
Select the tag for the new release (
release_<version>
).Enter the following:
- Release title: Core Plot Release <version>
- Binaries: drag the Core Plot zip file on your desktop to the box
-
Click Publish release.
-
Change to the HTML documentation directory cloned from core-plot.github.io:
cd ../documentation/html