Update sdk vcpkg portfile with VERSION and HEAD_REF (#5516)
* Update vcpkg portfile.cmake of sdk to add parameter HEAD_REF * Update vcpkg portfile.cmake of sdk to use variable VERSION * Update eng\scripts\Initialize-VcpkgRelease.ps1 regex for quoted REF * Re-trigger CI * Revert unnecessary change --------- Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
a665523af3
commit
e148d89745
@ -69,7 +69,7 @@ $newContent = $portFileContent -replace '(SHA512\s+)0', "`${1}$sha512"
|
||||
|
||||
if ($DailyReleaseRef) {
|
||||
Write-Verbose "Overriding REF with test release ref: $DailyReleaseRef"
|
||||
$newContent = $newContent -replace '(?m)^(\s+)REF azure.*$', "`${1}REF $DailyReleaseRef"
|
||||
$newContent = $newContent -replace '(?m)^(\s+)REF \"azure.*\"$', "`${1}REF $DailyReleaseRef"
|
||||
}
|
||||
|
||||
$newContent | Set-Content $portfileLocation -NoNewLine
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-security-attestation_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-security-attestation_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/attestation/azure-security-attestation")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-core-amqp_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-core-amqp_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/core/azure-core-amqp")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-core-tracing-opentelemetry_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-core-tracing-opentelemetry_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/core/azure-core-tracing-opentelemetry")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-core_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-core_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-messaging-eventhubs-checkpointstore-blob_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-messaging-eventhubs-checkpointstore-blob_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-messaging-eventhubs_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-messaging-eventhubs_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/eventhubs/azure-messaging-eventhubs")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-identity_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-identity_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/identity/azure-identity")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-security-keyvault-administration_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-security-keyvault-administration_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-administration")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-security-keyvault-certificates_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-security-keyvault-certificates_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-certificates")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-security-keyvault-keys_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-security-keyvault-keys_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-keys")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-security-keyvault-secrets_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-security-keyvault-secrets_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-secrets")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-storage-blobs_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-storage-blobs_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-blobs")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-storage-common_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-storage-common_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-common")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-storage-files-datalake_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-storage-files-datalake_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-files-datalake")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-storage-files-shares_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-storage-files-shares_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-files-shares")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-storage-queues_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-storage-queues_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-queues")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-data-tables_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-data-tables_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/tables/azure-data-tables")
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-template_@AZ_LIBRARY_VERSION@
|
||||
REF "azure-template_${VERSION}"
|
||||
SHA512 0
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/template/azure-template")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user