Skip to content

Commit e8cf43a

Browse files
committed
Release 0.0.2
- Update version number. - Update generate release instructions.
1 parent b2862c6 commit e8cf43a

5 files changed

Lines changed: 15 additions & 11 deletions

File tree

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# Project copyright.
3030
copyright = author
3131
# Project version.
32-
version = "0.0.0"
32+
version = "0.0.2"
3333
# Project release, set it as the same value as version as the separation is not required.
3434
release = version
3535

doc/version/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ Version
1515
.. doxygenvariable:: Utils::Version::DESCRIPTION
1616

1717
.. doxygenvariable:: Utils::Version::VERSION
18+
19+
.. doxygenvariable:: Utils::Version::COMMIT_HASH

other/cmake/tag.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
file(GLOB_RECURSE PROJECT_SOURCE_FILES
77
"${PROJECT_ROOT_DIR}/src/*.cpp"
88
"${PROJECT_ROOT_DIR}/src/*.hpp"
9+
"${PROJECT_ROOT_DIR}/src/*.fidl"
10+
"${PROJECT_ROOT_DIR}/src/*.fdepl"
911
"${PROJECT_ROOT_DIR}/tests/tests/*.cpp"
1012
"${PROJECT_ROOT_DIR}/tests/tests/*.hpp"
11-
"${PROJECT_ROOT_DIR}/third_party/*.fidl"
12-
"${PROJECT_ROOT_DIR}/third_party/*.fdepl"
1313
)
1414

1515
# Check if tagging filenames only.

other/cmake/version.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ set(PROJECT_CONTACT "dmg0345@gmail.com")
88
set(PROJECT_URL "https://github.com/dmg0345/commonapi_cpp_examples")
99
set(PROJECT_DESCRIPTION "Common API C++ Examples")
1010
set(PROJECT_COPYRIGHT "github.com/dmg0345/commonapi_cpp_examples/blob/master/LICENSE")
11-
set(PROJECT_VERSION_MAJOR "1")
11+
set(PROJECT_VERSION_MAJOR "0")
1212
set(PROJECT_VERSION_MINOR "0")
13-
set(PROJECT_VERSION_PATCH "0")
13+
set(PROJECT_VERSION_PATCH "2")
1414
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
1515
string(TIMESTAMP PROJECT_BUILD_TIMESTAMP_UTC "%d-%m-%Y %H:%M:%S (UTC)" UTC)
1616

readme.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ Create a release
3535

3636
To generate a release follow the steps below:
3737

38-
1. Create a ``release`` branch from ``develop`` branch, e.g. ``release/X.Y.Z``.
39-
2. Update version in *conf.py* file and in *version.cmake* file.
40-
3. Run *cmake* with ``-DCFG_TAG:BOOL=ON`` to tag all the relevant files.
41-
4. Create pull request from ``release`` branch to ``master`` with the changes with title *Release X.Y.Z*.
42-
5. When merged in ``master`` create release and tag from *Github*, review production workflow passes for deployment.
43-
6. Delete the ``release/X.Y.Z`` branch.
38+
1. Create a ``release`` branch from ``develop`` branch named ``release/X.Y.Z``.
39+
2. Update version in *conf.py* file and in *version.cmake* file, commit change to ``release/X.Y.Z`` branch.
40+
3. Create branch called ``release/X.Y.Z_tag`` from ``release/X.Y.Z``
41+
4. On branch ``release/X.Y.Z_tag``, run *cmake* with ``-DCFG_TAG:BOOL=ON`` to tag all files, and commit the changes.
42+
5. Create pull request from ``release/X.Y.Z_tag`` branch to ``master`` branch, with the title *Release X.Y.Z*.
43+
6. Create pull request from ``release/X.Y.Z`` branch to ``develop`` branch, with the title *Release X.Y.Z*.
44+
7. When merged in ``master`` create release and tag from *Github* from merged commit, review production workflow passes.
45+
8. Delete the ``release/X.Y.Z_tag`` branch, keep the ``release/X.Y.Z`` branch, which holds the commit hash tagged.

0 commit comments

Comments
 (0)