1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/scripts/fury-upload.sh
Carlos A Becker 52a64c7405
fix: fury upload
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-26 22:16:54 +00:00

8 lines
204 B
Bash
Executable File

#!/bin/bash
set -e
if [ "${1: -4}" == ".deb" ] || [ "${1: -4}" == ".rpm" ]; then
cd dist
echo "uploading $1"
curl -f -q -s -F package="@$1" "https://$FURY_TOKEN@push.fury.io/goreleaser/" >/dev/null
fi