Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Fixes bump_version to bump the CMake Gateway Version.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-buckley committed Jan 12, 2017
1 parent 9a0bbf4 commit 87e22ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 2.8.12)
project(azure_iot_gateway_sdk)

set(GATEWAY_VERSION 1.0.0 CACHE INTERNAL "")
set(GATEWAY_VERSION 1.0.1 CACHE INTERNAL "")
set(COMPANY_NAME "Microsoft")
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

Expand Down
8 changes: 8 additions & 0 deletions tools/release/bump_version/inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ module.exports = [
return '$1' + '$2' + versions.gateway.core;
}
},
{
"taskType": "regexReplaceTask",
"filePath": "CMakeLists.txt",
"search": "(set\\(GATEWAY\\_VERSION[\\s]+)(\\d+.\\d+.\\d+)([\\s]+.*)",
"replaceString": function(versions){
return '$1' + versions.gateway.core + '$3';
}
},
///////////////////////////////////////////////////
// Azure IoT Gateway SDK - DotNET binding
///////////////////////////////////////////////////
Expand Down

0 comments on commit 87e22ff

Please sign in to comment.