Commit ebfe4f98 authored by Richard Winters's avatar Richard Winters 🌚
Browse files

Update GitLab-CI Configuration to resolve issue with release

* Forgot to update the link name from example configuration template
  * Added `${PACKAGE_ARCHIVE}` as name placeholder
parent 90dd8af3
Pipeline #240459313 passed with stages
in 2 minutes and 6 seconds
......@@ -5,7 +5,7 @@ stages:
variables:
PACKAGE_VERSION: "1.2.3"
PACKAGE_ARCHIVE: "mmod-panel_${PACKAGE_VERSION}.zip"
PACKAGE_ARCHIVE: "mmod-panel_${$CI_COMMIT_TAG}.zip"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/mmod-panel/${PACKAGE_VERSION}"
# WE MUST REMOVE THIS BECAUSE IT RUNS PRIOR TO EACH JOB!
......@@ -56,7 +56,7 @@ release:
script:
- |
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
--assets-link "{\"name\":\"${DARWIN_AMD64_BINARY}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${PACKAGE_ARCHIVE}\"}"
--assets-link "{\"name\":\"${PACKAGE_ARCHIVE}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${PACKAGE_ARCHIVE}\"}"
#pages:
# stage: deploy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment