Skip to content
Snippets Groups Projects
Commit b2220702 authored by Luke Marlin's avatar Luke Marlin
Browse files

Update .gitlab-ci.yml file

parent 0b0825f9
No related branches found
No related tags found
No related merge requests found
Pipeline #11469 failed
......@@ -40,7 +40,7 @@ release-job:
- if: '$CI_COMMIT_BRANCH == "master"'
script:
- PACKAGE_VERSION="$(date +%Y.%m).${CI_PIPELINE_IID}"
- PACKAGE_REGISTRY_URL:="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/releases/${PACKAGE_VERSION}"
- PACKAGE_REGISTRY_URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/releases/${PACKAGE_VERSION}"
- echo 'Creating release'
- release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $PACKAGE_VERSION \
--assets-link "{\"name\":\"wesbite.tar\",\"url\":\"${PACKAGE_REGISTRY_URL}/website.tar\"}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment