fix config

This commit is contained in:
Oliver Gorwits
2018-01-15 21:01:37 +00:00
parent 00e1ed11ee
commit 4ec8d48785

View File

@@ -7,6 +7,7 @@ jobs:
- run: - run:
name: Call GitHub Releases API name: Call GitHub Releases API
command: | command: |
if [ ! -z "$CIRCLE_TAG" ]; then
for url in $(echo $RELEASE_INJECTION | sed "s/,/ /g"); do for url in $(echo $RELEASE_INJECTION | sed "s/,/ /g"); do
curl -sL -X POST -H "Content-Type: application/json" \ curl -sL -X POST -H "Content-Type: application/json" \
-u "$ACCESS_TOKEN" \ -u "$ACCESS_TOKEN" \
@@ -15,6 +16,7 @@ jobs:
\"name\": \"Netdisco $CIRCLE_TAG\"}" \ \"name\": \"Netdisco $CIRCLE_TAG\"}" \
$url $url
done done
fi
workflows: workflows:
version: 2 version: 2
trigger-netdisco-docker-images-build: trigger-netdisco-docker-images-build:
@@ -23,5 +25,5 @@ workflows:
filters: filters:
tags: tags:
only: /^2\.\d{6}/ only: /^2\.\d{6}/
branches: # branches:
ignore: /.*/ # ignore: /.*/