Skip to content

Commit 1fb05a3

Browse files
committed
2021-09-09 16:37:08
1 parent 3900c8a commit 1fb05a3

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

build.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,9 @@ git_push() {
6868
}
6969

7070
obs_trigger(){
71-
if [[ -z "${OBS_TOKEN}" ]]; then
72-
echo "${OBS_TOKEN}"
73-
echo "--- TRIGGER: openSUSE Build Service..."
74-
75-
${curl} -H "Authorization: Token ${OBS_TOKEN}" -X POST "https://build.opensuse.org/trigger/runservice?project=${OBS_PROJECT}&package=${OBS_PACKAGE}"
76-
else
77-
echo "--- ERROR: OBS_TOKEN not set!"
78-
fi
71+
echo "--- TRIGGER: openSUSE Build Service..."
72+
73+
${curl} -H "Authorization: Token ${OBS_TOKEN}" -X POST "https://build.opensuse.org/trigger/runservice?project=${OBS_PROJECT}&package=${OBS_PACKAGE}"
7974
}
8075

8176
git_clone && pkg_build && pkg_move && git_push && obs_trigger

0 commit comments

Comments
 (0)