Initial Commit
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2024-04-15 13:26:48 -07:00
commit 67414acfed
5 changed files with 440 additions and 0 deletions

22
plugin.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
if [ -z "$PLUGIN_USERNAME" ]; then
echo "ERROR: no username provided"
exit 1
fi
if [ -z "$PLUGIN_PASSWORD" ]; then
echo "ERROR: no password provided"
exit 1
fi
export TWINE_USERNAME="$PLUGIN_USERNAME"
export TWINE_PASSWORD="$PLUGIN_PASSWORD"
export TWINE_REPOSITORY_URL="$PLUGIN_REPOSITORY_URL"
if [ -n "$PLUGIN_COMMENT" ]; then
twine upload dist/music_kraken* --non-interactive --comment "$PLUGIN_COMMENT"
else
twine upload dist/music_kraken* --non-interactive
fi