Skip to content

Commit

Permalink
2021-09-09 16:37:08
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Sep 9, 2021
1 parent 3900c8a commit 1fb05a3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,9 @@ git_push() {
}

obs_trigger(){
if [[ -z "${OBS_TOKEN}" ]]; then
echo "${OBS_TOKEN}"
echo "--- TRIGGER: openSUSE Build Service..."

${curl} -H "Authorization: Token ${OBS_TOKEN}" -X POST "https://build.opensuse.org/trigger/runservice?project=${OBS_PROJECT}&package=${OBS_PACKAGE}"
else
echo "--- ERROR: OBS_TOKEN not set!"
fi
echo "--- TRIGGER: openSUSE Build Service..."

${curl} -H "Authorization: Token ${OBS_TOKEN}" -X POST "https://build.opensuse.org/trigger/runservice?project=${OBS_PROJECT}&package=${OBS_PACKAGE}"
}

git_clone && pkg_build && pkg_move && git_push && obs_trigger
Expand Down

0 comments on commit 1fb05a3

Please sign in to comment.