diff options
| -rw-r--r-- | .build.yml | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -12,7 +12,7 @@ environment: triggers: - action: email condition: failure - to: "<~pml68/dev@lists.sr.ht>" + to: "<~pml68/iced-crates@lists.sr.ht>" artifacts: - iced-builder-x86_64-unknown-linux-gnu tasks: @@ -31,19 +31,10 @@ tasks: cd iced-builder if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] then - if [ "$GIT_REF" != "refs/heads/master" ] - then - complete-build - fi - if [ "$(git remote get-url origin)" != "https://git.sr.ht/~pml68/iced-builder" ] - then - complete-build - fi - fi - if [ "$BUILD_REASON" = "patchset" ] - then - complete-build + [ "$GIT_REF" = "refs/heads/master" ] || complete-build + [ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/iced-builder" ] || complete-build fi + [ "$BUILD_REASON" = "patchset" ] && complete-build - build-stable: | cd iced-builder |
