Skip to content
Snippets Groups Projects
Verified Commit ac4b100d authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Redo asset inclusion in release step

parent 8fc30020
Branches
Tags
No related merge requests found
...@@ -224,8 +224,10 @@ push:release: ...@@ -224,8 +224,10 @@ push:release:
- echo "Running release job for $CI_COMMIT_TAG" - echo "Running release job for $CI_COMMIT_TAG"
- | - |
# Generate release parameters # Generate release parameters
[ -f assets.zip ] && \ if [ -f assets.zip ]; then
EXTRA_ASSETS="$EXTRA_ASSETS --assets-link \"{\\\"name\\\":\\\"assets.zip\\\",\\\"url\\\":\\\"${PACKAGE_REGISTRY_URL}/${CI_FOREMAN_GEMNAME}-assets.zip\\\"}\"" ASSET_ZIP="{\"name\":\"assets.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}/${CI_FOREMAN_GEMNAME}-assets.zip\"}"
EXTRA_ASSETS="$EXTRA_ASSETS --assets-link '${ASSET_ZIP}'"
fi
- | - |
# Create/Update release # Create/Update release
if [ -n "$CI_RELEASE_DESCRIPTION" ]; then if [ -n "$CI_RELEASE_DESCRIPTION" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment