1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/scripts/fury-upload.sh
Carlos A Becker f7983ea83e
fix: fury upload, maybe
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-21 02:53:14 +00:00

8 lines
201 B
Bash
Executable File

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