Paweł Bylica
8 years ago
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
6 changed files with
17 additions and
15 deletions
-
.bumpversion.cfg
-
CMakeLists.txt
-
appveyor.yml
-
cmake/variables.ps.in
-
cmake/variables.ps1.in
-
cmake/variables.sh.in
|
@ -1,5 +1,5 @@ |
|
|
[bumpversion] |
|
|
[bumpversion] |
|
|
current_version = 0.10.0rc8 |
|
|
current_version = 0.10.1 |
|
|
commit = True |
|
|
commit = True |
|
|
tag = True |
|
|
tag = True |
|
|
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))? |
|
|
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))? |
|
|
|
@ -15,7 +15,7 @@ HunterGate( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project(ethminer) |
|
|
project(ethminer) |
|
|
set(PROJECT_VERSION 0.10.0rc8) |
|
|
set(PROJECT_VERSION 0.10.1) |
|
|
|
|
|
|
|
|
# link_directories interprate relative paths with respect to CMAKE_CURRENT_SOURCE_DIR |
|
|
# link_directories interprate relative paths with respect to CMAKE_CURRENT_SOURCE_DIR |
|
|
cmake_policy(SET CMP0015 NEW) |
|
|
cmake_policy(SET CMP0015 NEW) |
|
@ -142,4 +142,4 @@ else() |
|
|
endif() |
|
|
endif() |
|
|
message("Prerelease: ${PROJECT_VERSION_IS_PRERELEASE}") |
|
|
message("Prerelease: ${PROJECT_VERSION_IS_PRERELEASE}") |
|
|
configure_file(cmake/variables.sh.in variables.sh) |
|
|
configure_file(cmake/variables.sh.in variables.sh) |
|
|
configure_file(cmake/variables.ps.in variables.ps) |
|
|
configure_file(cmake/variables.ps1.in variables.ps1) |
|
@ -21,17 +21,19 @@ artifacts: |
|
|
name: ethminer |
|
|
name: ethminer |
|
|
|
|
|
|
|
|
before_deploy: |
|
|
before_deploy: |
|
|
- . build/variables.ps |
|
|
# Read variables dumped by CMake configuration. |
|
|
- echo ethminer $ethminer_version (prerelease $ethminer_version_is_prerelease) |
|
|
- ps: . build/variables.ps1 |
|
|
deploy: |
|
|
deploy: |
|
|
release: ethminer $ethminer_version |
|
|
# Create GitHub release, also set the release name and description. |
|
|
description: '' |
|
|
|
|
|
provider: GitHub |
|
|
provider: GitHub |
|
|
|
|
|
tag: $(appveyor_repo_tag_name) |
|
|
|
|
|
release: ethminer $(ethminer_version) |
|
|
|
|
|
description: '' |
|
|
|
|
|
force_update: true # Force update in case Travis CI created the release before. |
|
|
|
|
|
prerelease: $(ethminer_version_is_prerelease) |
|
|
|
|
|
draft: false |
|
|
|
|
|
artifact: ethminer |
|
|
auth_token: |
|
|
auth_token: |
|
|
secure: uDRcvbW+9GIyKlZ9guJfWOQ6jg0An6eULg6mEkYgdKn/GVNpYSKvO5oHxP0U8a+e |
|
|
secure: uDRcvbW+9GIyKlZ9guJfWOQ6jg0An6eULg6mEkYgdKn/GVNpYSKvO5oHxP0U8a+e |
|
|
artifact: ethminer |
|
|
|
|
|
draft: true |
|
|
|
|
|
prerelease: $ethminer_version_is_prerelease |
|
|
|
|
|
force_update: false |
|
|
|
|
|
on: |
|
|
on: |
|
|
appveyor_repo_tag: true |
|
|
appveyor_repo_tag: true |
|
|
|
@ -1,2 +0,0 @@ |
|
|
$ethminer_version=@PROJECT_VERSION@ |
|
|
|
|
|
$ethminer_version_is_prerelease=@PROJECT_VERSION_IS_PRERELEASE@ |
|
|
|
|
@ -0,0 +1,2 @@ |
|
|
|
|
|
$env:ethminer_version="@PROJECT_VERSION@" |
|
|
|
|
|
$env:ethminer_version_is_prerelease="@PROJECT_VERSION_IS_PRERELEASE@" |
|
@ -1,2 +1,2 @@ |
|
|
ETHMINER_VERSION=@PROJECT_VERSION@ |
|
|
ETHMINER_VERSION='@PROJECT_VERSION@' |
|
|
ETHMINER_VERSION_IS_PRERELEASE=@PROJECT_VERSION_IS_PRERELEASE@ |
|
|
ETHMINER_VERSION_IS_PRERELEASE='@PROJECT_VERSION_IS_PRERELEASE@' |