Skip to content
Snippets Groups Projects
Commit 47baa8b1 authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Rename generated yml in ci pipeline

parent e0cb91e1
No related branches found
No related tags found
1 merge request!18Umbenennung von Antragsformular / Dokument in Anhang
...@@ -19,7 +19,7 @@ build: ...@@ -19,7 +19,7 @@ build:
before_script: before_script:
- npm install -g @apidevtools/swagger-cli - npm install -g @apidevtools/swagger-cli
- mkdir dist - mkdir dist
script: swagger-cli bundle -t yaml -o dist/combined.yml spec/combined.yml script: swagger-cli bundle -t yaml -o dist/zustelldienst.yml spec/combined.yml
# find ./spec -type f -name "*.yml" -exec sh -c 'swagger-cli bundle -t yaml -o dist/$(basename {}) {}' \; # find ./spec -type f -name "*.yml" -exec sh -c 'swagger-cli bundle -t yaml -o dist/$(basename {}) {}' \;
artifacts: artifacts:
expose_as: 'Built API spec' expose_as: 'Built API spec'
...@@ -32,7 +32,6 @@ upload: ...@@ -32,7 +32,6 @@ upload:
image: alpine:latest image: alpine:latest
only: only:
refs: refs:
- master
- tags - tags
variables: variables:
- $CI_COMMIT_TAG - $CI_COMMIT_TAG
...@@ -62,4 +61,5 @@ release-new-api-version: ...@@ -62,4 +61,5 @@ release-new-api-version:
- echo "Releasing new API version" - echo "Releasing new API version"
- release-cli create --name "v$CI_COMMIT_TAG" --description './CHANGELOG.md' - release-cli create --name "v$CI_COMMIT_TAG" --description './CHANGELOG.md'
--tag-name $CI_COMMIT_TAG --tag-name $CI_COMMIT_TAG
--assets-link '{"name":"combined-$CI_COMMIT_TAG","url":"https://fitko.uber.space/$CI_COMMIT_TAG/combined.yml"}' --assets-link '{"name":"combined-$CI_COMMIT_TAG","url":"https://fitko.uber.space/$CI_COMMIT_TAG/zustelldienst.yml"}'
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