Skip to content

Commit

Permalink
[version] Bump up to version 6.21.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
bruntib committed Aug 22, 2022
1 parent 2d94941 commit d24c22c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion analyzer/codechecker_analyzer/analyzer_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def __set_version(self):

self.__package_version = package_version['major'] + '.' + \
package_version['minor'] + '.' + \
package_version['revision']
package_version['revision'] + \
('-rc' + package_version['rc'] if 'rc' in package_version else '')

self.__package_build_date = package_build_date
self.__package_git_hash = package_git_hash
Expand Down
3 changes: 2 additions & 1 deletion analyzer/config/analyzer_version.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"version": {
"major" : "6",
"minor" : "20",
"revision" : "0"
"revision" : "0",
"rc" : "1"
}
}
2 changes: 2 additions & 0 deletions scripts/build/extend_version_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def extend_with_git_information(repository_root, version_json_data):
version_string += ".{0}".format(version['minor'])
if int(version['revision']) != 0:
version_string += ".{0}".format(version['revision'])
if int(version['rc']) != 0:
version_string += "-rc{0}".format(version['rc'])

LOG.info("This is CodeChecker v%s", version_string)

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

setuptools.setup(
name="codechecker",
version="6.20.0",
version="6.20.0-rc1",
author='CodeChecker Team (Ericsson)',
author_email='[email protected]',
description="CodeChecker is an analyzer tooling, defect database and "
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: codechecker
base: core18
version: '6.20.0'
version: '6.20.0-rc1'
summary: CodeChecker is an analyzer tooling, defect database and viewer extension
description: |
CodeChecker is an analyzer tooling, defect database and viewer extension.
Expand Down Expand Up @@ -33,7 +33,7 @@ parts:
codechecker:
plugin: python
python-version: python3
source: https://github.com/Ericsson/codechecker/archive/v6.20.0.tar.gz
source: https://github.com/Ericsson/codechecker/archive/v6.20.0-rc1.tar.gz
build-packages:
- curl
- gcc-multilib
Expand Down
3 changes: 2 additions & 1 deletion web/codechecker_web/shared/webserver_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def __set_version(self):

self.__package_version = package_version['major'] + '.' + \
package_version['minor'] + '.' + \
package_version['revision']
package_version['revision'] + \
('-rc' + package_version['rc'] if 'rc' in package_version else '')

self.__package_build_date = package_build_date
self.__package_git_hash = package_git_hash
Expand Down
3 changes: 2 additions & 1 deletion web/config/web_version.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"version": {
"major" : "6",
"minor" : "20",
"revision" : "0"
"revision" : "0",
"rc": "1"
}
}

0 comments on commit d24c22c

Please sign in to comment.