Skip to content
Snippets Groups Projects
Commit 1692dab6 authored by sgmoore's avatar sgmoore
Browse files

Update .gitlab-ci.yml file

parent 8720d949
No related branches found
No related tags found
No related merge requests found
Pipeline #5141 passed with warnings
......@@ -11,7 +11,7 @@ stages:
- test
- upload
- release
variables:
# Package version can only contain numbers (0-9), and dots (.).
# Must be in the format of X.Y.Z, i.e. should match /\A\d+\.\d+\.\d+\z/ regular expresion.
......@@ -19,7 +19,7 @@ variables:
PACKAGE_VERSION: "2.0"
ARCH: 'all'
LINUX_AMD64_BINARY: "{$CI_PROJECT_NAME}_${PACKAGE_VERSION}_{$ARCH}.deb"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/2353/main/generic"
PACKAGE_REGISTRY_URL: 'https://opencode/netrunner/projects/2353/repository/files/'
VENDOR: 'netrunner'
RELEASE:
description: "The Debian release to build for"
......@@ -85,11 +85,11 @@ upload:
image: curlimages/curl:latest
script:
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN} Content-Type: application/octet-stream" --upload-file debian/output/${LINUX_AMD64_BINARY} ${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" -H 'Content-Type: application/octet-stream' --upload-file debian/output/${LINUX_AMD64_BINARY} ${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}
only:
- master
allow_failure: true
release:
# Caution, as of 2021-02-02 these assets links require a login, see:
# https://gitlab.com/gitlab-org/gitlab/-/issues/299384
......
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