aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-03-09 06:22:11 +0800
committerVictor Romero <romerosanchezv@gmail.com>2019-03-08 14:22:11 -0800
commit65f1d0ebc476523631b33e5ae5f30aa4917b2772 (patch)
treef9009ec3d5a0a6f1444981562e0b4726b53adda3
parent350f70031ba1e3beffc376678150d3ee6655dbb8 (diff)
downloadvcpkg-65f1d0ebc476523631b33e5ae5f30aa4917b2772.tar.gz
vcpkg-65f1d0ebc476523631b33e5ae5f30aa4917b2772.zip
[coroutine]update source package hash. (#5597)
* [coroutine]update source package hash. * [coroutine] Use commit hash instead of release tag
-rw-r--r--ports/coroutine/CONTROL2
-rw-r--r--ports/coroutine/portfile.cmake8
2 files changed, 7 insertions, 3 deletions
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
)