[coroutine]update source package hash. (#5597)

* [coroutine]update source package hash.

* [coroutine] Use commit hash instead of release tag
This commit is contained in:
JackBoosY 2019-03-09 06:22:11 +08:00 committed by Victor Romero
parent 350f70031b
commit 65f1d0ebc4
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Source: coroutine
Version: 1.4.0
Version: 1.4.0-1
Build-Depends: ms-gsl
Description: C++ coroutine helper/example library

View File

@ -1,10 +1,14 @@
include(vcpkg_common_functions)
# The tagged commit for release 1.4 was changed by the library's author.
# The current commit for release 1.4 is 3f804ca0f9ec94e3c85e3c5cc00aecc577fb8aad
# We use the commit's hash to avoid the tag changing again it in the future.
set(VERSION_1_4_COMMIT 3f804ca0f9ec94e3c85e3c5cc00aecc577fb8aad)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO luncliff/coroutine
REF 1.4
SHA512 981c9c728c7888995880a97e8533fa31f41085ef57e1c61e53e555f329d20d4a882d9de724d9e93e3d009dc3fe0669fe4d1af403654a9373e4aab44c933628a3
REF ${VERSION_1_4_COMMIT}
SHA512 a77d66a8d485a99278f15652d26f255653824c47bd3653233e89ddb6368bc3b45ab0a8049e504c5acc8cf051da582bf6b4d8461c8f7f57bf5a0b7dcaddc0afbb
HEAD_REF master
)