cli/scripts/build-package.sh

13 lines
578 B
Bash

fpm -s dir -t deb -p /build/pastee_${DRONE_TAG}_${ARCH}.deb \
-n ow-api -v $DRONE_TAG -a $ARCH \
--deb-priority optional --force \
--deb-compression bzip2 \
--description "Paste.ee CLI Tool" \
-m "Paste.ee <admin@paste.ee>" --vendor "Paste.ee" \
-a $ARCH /build/pastee_linux_${ARCH}=/usr/bin/pastee
fpm -s dir -t rpm -p /build/pastee_${DRONE_TAG}_${ARCH}.rpm \
-n ow-api -v $DRONE_TAG -a $ARCH \
--description "Paste.ee CLI Tool" \
-m "Paste.ee <admin@paste.ee>" --vendor "Paste.ee" \
-a $ARCH /build/pastee_linux_${ARCH}=/usr/bin/pastee