github.com/alloyci/alloy-runner@v1.0.1-0.20180222164613-925503ccafd6/ci/release_packagecloud (about)

     1  #!/usr/bin/env bash
     2  
     3  set -eo pipefail
     4  
     5  target=$(echo ${1} | cut -f 1 -d ' ')
     6  case "${target}" in
     7      bleeding)
     8          make packagecloud DEB_PLATFORMS="debian/jessie debian/stretch ubuntu/trusty ubuntu/xenial ubuntu/artful" \
     9                            RPM_PLATFORMS="el/7 fedora/25"
    10          ;;
    11      stable)
    12          make packagecloud
    13          ;;
    14      *)
    15          echo "Unkown packagecloud upload target: '${target}'"
    16          exit 1
    17          ;;
    18  esac