github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/scripts/fury-upload.sh (about) 1 #!/bin/bash 2 set -e 3 if [ "${1: -4}" == ".deb" ] || [ "${1: -4}" == ".rpm" ]; then 4 cd dist 5 echo "uploading $1" 6 curl -f -q -s -F package="@$1" "https://$FURY_TOKEN@push.fury.io/goreleaser/" >/dev/null 7 fi