From 65f1d0ebc476523631b33e5ae5f30aa4917b2772 Mon Sep 17 00:00:00 2001 From: JackBoosY <47264268+JackBoosY@users.noreply.github.com> Date: Sat, 9 Mar 2019 06:22:11 +0800 Subject: [coroutine]update source package hash. (#5597) * [coroutine]update source package hash. * [coroutine] Use commit hash instead of release tag --- ports/coroutine/CONTROL | 2 +- ports/coroutine/portfile.cmake | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'ports/coroutine') diff --git a/ports/coroutine/CONTROL b/ports/coroutine/CONTROL index 4b193d5bd..af2c5d0e9 100644 --- a/ports/coroutine/CONTROL +++ b/ports/coroutine/CONTROL @@ -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 diff --git a/ports/coroutine/portfile.cmake b/ports/coroutine/portfile.cmake index 17e7596af..78a076fe4 100644 --- a/ports/coroutine/portfile.cmake +++ b/ports/coroutine/portfile.cmake @@ -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 ) -- cgit v1.2.3