cli/scripts/build-package.sh

13 lines
601 B
Bash
Raw Normal View History

2021-03-27 04:54:08 +00:00
fpm -s dir -t deb -p /build/pastee_${DRONE_TAG}_${ARCH}.deb \
2021-03-27 05:28:55 +00:00
-n pastee -v $DRONE_SEMVER -a $ARCH \
2021-03-27 04:54:08 +00:00
--deb-priority optional --force \
--deb-compression gz --verbose \
2021-03-27 04:54:08 +00:00
--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 \
2021-03-27 05:28:55 +00:00
-n pastee -v $DRONE_SEMVER -a $ARCH \
--description "Paste.ee CLI Tool" --verbose \
2021-03-27 04:54:08 +00:00
-m "Paste.ee <admin@paste.ee>" --vendor "Paste.ee" \
-a $ARCH /build/pastee_linux_${ARCH}=/usr/bin/pastee