mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
f7983ea83e
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
8 lines
201 B
Bash
Executable File
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
|