use a git release on the other repo
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
for url in $(echo $BUILD_TRIGGERS | sed "s/,/ /g"); do
|
for url in $(echo $BUILD_TRIGGERS | sed "s/,/ /g"); do
|
||||||
curl -sL -X POST -H "Content-Type: application/json" --data "{ \"build\": true, \"source_name\": \"$SOURCE_BRANCH\" }" $url
|
curl -sL -X POST -H "Content-Type: application/json" \
|
||||||
|
-u "$ACCESS_TOKEN" \
|
||||||
|
--data "{\"tag_name\": \"$SOURCE_BRANCH\", \"target_commitish\": \"master\", \"name\": \"Netdisco $SOURCE_BRANCH\"}" \
|
||||||
|
$url
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user