Skip to content

Commit

Permalink
Updated version information to 0.105
Browse files Browse the repository at this point in the history
Updated version information to 0.105, as well as fixing to have cmake
insert, rather than hardcoding.
  • Loading branch information
ragusaa authored Jun 4, 2022
1 parent 7872c32 commit 86cf32f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
# For release candidate: set(VERSION_SUFFIX "-rc")
# For release: set(VERSION_SUFFIX "")
string(TIMESTAMP TODAY "%Y%m%d")
set(VERSION_SUFFIX "-devel-${TODAY}")
set(VERSION_SUFFIX "")

project( ClamBCC
VERSION "0.103.1"
VERSION "0.105.0"
DESCRIPTION "ClamAV Bytecode Compiler." )

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
Expand Down
2 changes: 1 addition & 1 deletion clambcc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (C) 2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.

configure_file(clambc-compiler.py clambc-compiler COPYONLY)
configure_file(clambc-compiler.py clambc-compiler)

install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/clambc-compiler"
Expand Down
3 changes: 1 addition & 2 deletions clambcc/clambc-compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,7 @@ def main():
(options, args) = parser.parse_args()

if options.version:
#TODO: determine the version by calling into libclambcc.so
print('ClamBC-Compiler 0.103.1')
print('ClamBC-Compiler @PACKAGE_VERSION@')
sys.exit(0)


Expand Down

0 comments on commit 86cf32f

Please sign in to comment.