insta-import-pixelfed/package.sh

8 lines
325 B
Bash
Raw Normal View History

#!/bin/bash -x
RELEASE_VERSION="1.0.2"
curl --netrc \
--upload-file target/$(rustc -vV | grep host | cut -d ' ' -f2)/release/pixelfed_batch_uploader \
https://repos.mxhdr.net/api/packages/maxheadroom/generic/insta-import-pixelfed/$RELEASE_VERSION/pixelfed_batch_uploader.$(rustc -vV | grep host | cut -d ' ' -f2)