2022-01-01 01:12:56 +00:00
|
|
|
PACKAGE_ARCH="$ARCH"
|
|
|
|
|
|
|
|
if [ "$PACKAGE_ARCH" = "arm" ]; then
|
|
|
|
PACKAGE_ARCH="armhf"
|
|
|
|
elif [ "$PACKAGE_ARCH" = "386" ]; then
|
|
|
|
PACKAGE_ARCH="i386"
|
|
|
|
fi
|
|
|
|
|
2021-03-27 04:54:08 +00:00
|
|
|
fpm -s dir -t deb -p /build/pastee_${DRONE_TAG}_${ARCH}.deb \
|
2022-01-01 01:12:56 +00:00
|
|
|
-n pastee -v $DRONE_SEMVER -a $PACKAGE_ARCH \
|
2021-03-27 04:54:08 +00:00
|
|
|
--deb-priority optional --force \
|
2021-03-27 22:15:26 +00:00
|
|
|
--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" \
|
2022-01-01 01:12:56 +00:00
|
|
|
/build/pastee_linux_${ARCH}=/usr/bin/pastee
|
2021-03-27 04:54:08 +00:00
|
|
|
|
|
|
|
fpm -s dir -t rpm -p /build/pastee_${DRONE_TAG}_${ARCH}.rpm \
|
2022-01-01 01:12:56 +00:00
|
|
|
-n pastee -v $DRONE_SEMVER -a $PACKAGE_ARCH \
|
2021-03-27 22:15:26 +00:00
|
|
|
--description "Paste.ee CLI Tool" --verbose \
|
2021-03-27 04:54:08 +00:00
|
|
|
-m "Paste.ee <admin@paste.ee>" --vendor "Paste.ee" \
|
2022-01-01 01:12:56 +00:00
|
|
|
/build/pastee_linux_${ARCH}=/usr/bin/pastee
|