Commit 9e235855 authored by Stefan Funk's avatar Stefan Funk
Browse files

fix: Re-factor BOM deployment

parent 858cf2ab
Pipeline #303095 passed with stages
in 2 minutes and 41 seconds
......@@ -88,30 +88,17 @@ Build and deploy JARs:
paths:
- ./target/bom.json
# Upload RELEASE bom.json to deps.sub.uni-goettingen.de
Upload DARIAH-DE-COMMON RELEASE BOM:
stage: deploy
only:
- tags
variables:
X_API_KEY: ${DEPS_UPLOAD_TOKEN}
AUTO_CREATE_PROJECT: "true"
PROJECT_NAME: "dariah-de-common"
PROJECT_VERSION: "RELEASE"
BOM_LOCATION: "./target/bom.json"
extends:
- .upload-bom-to-deps
# Upload SNAPSHOT bom.json to deps.sub.uni-goettingen.de
Upload DARIAH-DE-COMMON SNAPSHOT BOM:
# Upload bom.json to deps.sub.uni-goettingen.de
Upload DARIAH-DE-COMMON BOM:
stage: deploy
only:
- develop
- tags
variables:
X_API_KEY: ${DEPS_UPLOAD_TOKEN}
AUTO_CREATE_PROJECT: "true"
PROJECT_NAME: "dariah-de-common"
PROJECT_VERSION: "SNAPSHOT"
PROJECT_VERSION: ${PVERSION}
BOM_LOCATION: "./target/bom.json"
extends:
- .upload-bom-to-deps
Supports Markdown
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