ci(#8): Livre les packs en .ddw au lieux de .zip

This commit is contained in:
Simon Pistache 2023-07-16 01:29:35 +02:00
parent 8087160da4
commit f1082eabe7
2 changed files with 8 additions and 6 deletions

View File

@ -57,10 +57,10 @@ variables:
changes: changes:
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/* - ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
script: script:
- zip -j ${PACKAGE_NAME}.zip ${ENTRY_FOLDER}/${PACKAGE_NAME}/* - zip -j ${PACKAGE_NAME}.ddw ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
artifacts: artifacts:
paths: paths:
- ${PACKAGE_NAME}.zip - ${PACKAGE_NAME}.ddw
when: on_success when: on_success
expire_in: "1 hour" expire_in: "1 hour"
@ -77,7 +77,7 @@ variables:
- | - |
curl --fail \ curl --fail \
--header "JOB-TOKEN: ${CI_JOB_TOKEN}" \ --header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
--upload-file ${PACKAGE_NAME}.zip "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.zip?select=package_file" --upload-file ${PACKAGE_NAME}.ddw "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.ddw?select=package_file"
.release-job: .release-job:
stage: Release stage: Release
@ -97,5 +97,6 @@ variables:
ref: "$CI_COMMIT_SHA" ref: "$CI_COMMIT_SHA"
assets: assets:
links: links:
- name: ${PACKAGE_NAME} - name: ${PACKAGE_NAME}.ddw
url: "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.zip" url: "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.ddw"
link_type: package

View File

@ -5,6 +5,7 @@
"#9", "#9",
"#13", "#13",
"#14", "#14",
"#15" "#15",
"#8"
] ]
} }