insta-import-pixelfed/package.sh

7 lines
325 B
Bash
Executable file

#!/bin/bash -x
RELEASE_VERSION="1.0.1"
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)