mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-07 13:31:37 +02:00
8 lines
204 B
Bash
Executable File
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
|