sh_cpl/scripts/upload.sh

17 lines
686 B
Bash
Raw Normal View History

2021-10-04 09:30:27 +02:00
#!/bin/bash
if [ $1 == "-prod" ]; then
2022-04-30 16:33:30 +02:00
twine upload -r pip.sh-edraft.de dist/cpl-cli/publish/setup/*
twine upload -r pip.sh-edraft.de dist/cpl-core/publish/setup/*
twine upload -r pip.sh-edraft.de dist/cpl-query/publish/setup/*
elif [ $1 == "-exp" ]; then
twine upload -r pip-exp.sh-edraft.de dist/cpl-cli/publish/setup/*
twine upload -r pip-exp.sh-edraft.de dist/cpl-core/publish/setup/*
2022-05-19 20:49:48 +02:00
twine upload -r pip-exp.sh-edraft.de dist/cpl-query/publish/setup/*
2021-10-04 09:30:27 +02:00
else
2022-04-30 16:33:30 +02:00
twine upload -r pip-dev.sh-edraft.de dist/cpl-cli/publish/setup/*
twine upload -r pip-dev.sh-edraft.de dist/cpl-core/publish/setup/*
twine upload -r pip-dev.sh-edraft.de dist/cpl-query/publish/setup/*
2021-10-04 09:30:27 +02:00
fi