File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929# Project copyright.
3030copyright = 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.
3434release = version
3535
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 66file (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.
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ set(PROJECT_CONTACT "dmg0345@gmail.com")
88set (PROJECT_URL "https://github.com/dmg0345/commonapi_cpp_examples" )
99set (PROJECT_DESCRIPTION "Common API C++ Examples" )
1010set (PROJECT_COPYRIGHT "github.com/dmg0345/commonapi_cpp_examples/blob/master/LICENSE" )
11- set (PROJECT_VERSION_MAJOR "1 " )
11+ set (PROJECT_VERSION_MAJOR "0 " )
1212set (PROJECT_VERSION_MINOR "0" )
13- set (PROJECT_VERSION_PATCH "0 " )
13+ set (PROJECT_VERSION_PATCH "2 " )
1414set (PROJECT_VERSION "${PROJECT_VERSION_MAJOR } .${PROJECT_VERSION_MINOR } .${PROJECT_VERSION_PATCH } " )
1515string (TIMESTAMP PROJECT_BUILD_TIMESTAMP_UTC "%d-%m-%Y %H:%M:%S (UTC)" UTC )
1616
Original file line number Diff line number Diff line change @@ -35,9 +35,11 @@ Create a release
3535
3636To 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.
You can’t perform that action at this time.
0 commit comments