-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Tolc-Software/versions
Add support for versioned releases
- Loading branch information
Showing
15 changed files
with
133 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Releases # | ||
|
||
There are two types of releases for this project: | ||
|
||
1. The `latest` release. | ||
* Considered stable-ish. | ||
* Built from each pull request merged and updated continuously. | ||
2. Tagged releases (e.g. `v0.3.1`). | ||
* Created each time a stable build is done. | ||
|
||
## How to create a tagged release ## | ||
|
||
1. Update the version number in `CMakeLists.txt`. | ||
* This will, when building, populate the `VERSION` file in the root of this project. | ||
2. Create the file `docs/ReleaseNotes/$(cat VERSION).md` containing the release notes and add it. | ||
* This file will automatically be used as the release notes for that version. | ||
* Ideally this file will be continuously updated as time goes on. | ||
3. Create a pull request with the changes. | ||
4. When passing and merged the following will happen: | ||
* A new tag will be created as `$(cat VERSION)` | ||
* A new github Release will be created from that tag | ||
* The `cpack` generated file will be added to the release aswell as the `latest` release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Ignore all files named (wherever they are): | ||
.DS_Store | ||
.log | ||
|
||
# Generated by CMake | ||
version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# News # | ||
|
||
Initial versioned release! | ||
|
||
## Features ## | ||
|
||
* Most C++ constructs are automatically given a binding to python | ||
|
||
See https://tolc.io for more information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# News # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v@CMAKE_PROJECT_VERSION@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.