ci: add v prefix to packaged Terraform provider binary (#2705)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-12-12 15:01:37 +01:00 committed by GitHub
parent 4c8041d2cf
commit 0512cfccd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,9 +458,9 @@ jobs:
mkdir -p "${folder_name}"
if [[ "${ext}" = "exe" ]]; then
cp "${file}" "${folder_name}/terraform-provider-constellation_${version}.exe"
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}.exe"
else
cp "${file}" "${folder_name}/terraform-provider-constellation_${version}"
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}"
fi
zip -r "${folder_name}.zip" "${folder_name}"
rm -r "${folder_name}"