ci: release hashsum

This commit is contained in:
Ming Di Leom 2023-01-31 10:08:27 +00:00
parent 581604b65b
commit f6c178e5ed
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,8 @@ upload:
script:
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${ADDON_PACKAGE} ${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}
sha256sum "$ADDON_PACKAGE" > "${ADDON_PACKAGE}.sha256sum"
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "${ADDON_PACKAGE}.sha256sum" "${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}.sha256sum"
release_job:
stage: release
@ -64,3 +66,5 @@ release_job:
links:
- name: ${ADDON_PACKAGE}
url: "${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}"
- name: ${ADDON_PACKAGE}.sha256sum
url: "${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}.sha256sum"