2021-06-21 04:26:17 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ "${1: -4}" == ".deb" ] || [ "${1: -4}" == ".rpm" ]; then
|
|
|
|
cd dist
|
2021-06-21 04:52:31 +02:00
|
|
|
echo "uploading $1"
|
|
|
|
curl -q -s -F package="@$1" "https://$FURY_TOKEN@push.fury.io/goreleaser/" >/dev/null
|
2021-06-21 04:26:17 +02:00
|
|
|
fi
|