adding package upload and introduced targets in cargo.toml

This commit is contained in:
Falko Zurell 2025-01-17 16:55:56 +01:00
parent 5055fe9af8
commit 4d5fc9c2a7
3 changed files with 11 additions and 0 deletions

7
package.sh Executable file
View file

@ -0,0 +1,7 @@
#!/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)