Skip to content
Snippets Groups Projects

add smith and membership commands

Merged Hugo Trentesaux requested to merge hugo-dev into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -9,7 +9,7 @@ stages:
@@ -9,7 +9,7 @@ stages:
variables:
variables:
# url for package registry
# url for package registry
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/gcli-${CI_COMMIT_TAG}"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gcli/${CI_COMMIT_TAG}"
# build gcli binary
# build gcli binary
build:
build:
@@ -42,7 +42,7 @@ upload:
@@ -42,7 +42,7 @@ upload:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_TAG
script:
script:
- |
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --header "Content-Type: application/octet-stream" --upload-file target/release/gcli "${PACKAGE_REGISTRY_URL}"
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --header "Content-Type: application/octet-stream" --upload-file target/release/gcli "${PACKAGE_REGISTRY_URL}" --fail
# create a gitlab release pointing to this binary
# create a gitlab release pointing to this binary
release:
release:
Loading