Skip to content

Commit

Permalink
Merge pull request #347 from KomputeProject/v0.9.0-release
Browse files Browse the repository at this point in the history
V0.9.0 release
  • Loading branch information
axsaucedo authored Jan 20, 2024
2 parents c1d5a39 + f3c7bd0 commit 85792ba
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20)
project(kompute VERSION 0.8.1 LANGUAGES CXX)
project(kompute VERSION 0.9.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 14)

Expand Down Expand Up @@ -302,4 +302,4 @@ if(KOMPUTE_OPT_INSTALL)
endif()


include(cmake/set_package_info.cmake)
include(cmake/set_package_info.cmake)
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ recursive-include src *
recursive-include python *
recursive-include single_include *
recursive-include external *
recursive-include cmake *

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.1
0.9.0
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author = 'Alejandro Saucedo'

# The full version, including alpha/beta/rc tags
release = '0.8.1'
release = '0.9.0'


# -- General configuration ---------------------------------------------------
Expand Down
32 changes: 25 additions & 7 deletions docs/overview/ci-tests.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

CI, Docker Images, Docs & Tests
CI, Docker Images, Docs, Tests & Release
======================

This section contains an overview of the steps run on CI, as well as the tools used to simplify the testing (such as running on CPU).
Expand Down Expand Up @@ -71,23 +71,32 @@ Once this installed:

* You can build the documentation using the `gendocsall` cmake target
* This can be done with `make clean_cmake mk_cmake mk_build_docs`
* You can serve the documentation locally using the `mk_run_docs_only` command in the Makefile
>>>>>>> Stashed changes
* This can be done with `mk_build_docs`
* You can serve the documentation locally using the `mk_run_docs` command in the Makefile

Documentation can be published with `make push_docs_to_ghpages`

Performing Release
~~~~~~~~~~~~

In order to perform the release the following steps need to be carried out:

* Build changelog

* Set up repo with next version as required if not yet updated
* Update version in `./VERSION` file
* Update the version across the repo
* If using Far.vim you can use `:Far X\\.Y\\.Z XX.YY.ZZ **/**`
* Make sure you don't accidentally replace the `CHANGELOG.md`
* Create branch called `v<VERSION>-release`
* Generate latest changelog `make build_changelog`
* Update latest tag in new CHANGELOG.md to be the vesion to release
* Commit changes with new version
* Building documentation
* Follow section above to build documentation
* Note: Currently some docs packages are only available in linux
* Python Release
* Build dependency:
* Intsall dependency: `pip install .`
* Ensure all tests pass in GPU and CPU: `python -m pytest`
* Build distribution `python setup.py sdist bdist_wheel`
* Build distribution `python setup.py sdist` - creating only tarball, no wheel
* Test repo:
* Push to test repo `python -m twine upload --repository testpypi dist/*`
* Install python dependency: `python -m pip install --index-url https://test.pypi.org/simple/ --no-deps kp`
Expand All @@ -96,5 +105,14 @@ In order to perform the release the following steps need to be carried out:
* Push to test repo `python -m twine upload dist/*`
* Install package from prod pypi `pip install kp`
* Ensure all tests pass in GPU and CPU: `python -m pytest`
* Build changelog
* Generate latest changelog `make build_changelog`
* Update latest tag in new CHANGELOG.md to be the vesion to release
* Push tag
* Push the tag of version `vXX.YY.ZZ`
* Merge changes back to master
* Open a PR to run the tests and check everything is working as expected
* Once everything correct, merge back to master
* Celebrate 🥳


2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def build_extension(self, ext):

setup(
name='kp',
version='0.8.1',
version='0.9.0',
author='Alejandro Saucedo',
description='Kompute: Blazing fast, mobile-enabled, asynchronous, and optimized for advanced GPU processing usecases.',
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json.opt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version-string": "0.8.1",
"version-string": "0.9.0",
"dependencies": [
"fmt",
"spdlog",
Expand Down

0 comments on commit 85792ba

Please sign in to comment.