Added upload script
This commit is contained in:
parent
8460c0fa33
commit
fb2872422e
@ -1,8 +1,8 @@
|
|||||||
upload:
|
upload:
|
||||||
prod:
|
prod:
|
||||||
cpl:
|
cpl:
|
||||||
twine upload --repository-url https://pip.sh-edraft.de dist/sh_cpl/publish/setup/*
|
twine upload --repository-url https://pip.sh-edraft.de dist/sh_cpl-core/publish/setup/*
|
||||||
twine upload -r pip.sh-edraft.de dist/sh_cpl/publish/setup/*
|
twine upload -r pip.sh-edraft.de dist/sh_cpl-core/publish/setup/*
|
||||||
cli:
|
cli:
|
||||||
twine upload --repository-url https://pip.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
twine upload --repository-url https://pip.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
||||||
twine upload -r pip.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
twine upload -r pip.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
||||||
@ -13,8 +13,8 @@ upload:
|
|||||||
|
|
||||||
exp:
|
exp:
|
||||||
cpl:
|
cpl:
|
||||||
twine upload --repository-url https://pip-exp.sh-edraft.de dist/sh_cpl/publish/setup/*
|
twine upload --repository-url https://pip-exp.sh-edraft.de dist/sh_cpl-core/publish/setup/*
|
||||||
twine upload -r pip-exp.sh-edraft.de dist/sh_cpl/publish/setup/*
|
twine upload -r pip-exp.sh-edraft.de dist/sh_cpl-core/publish/setup/*
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
twine upload --repository-url https://pip-exp.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
twine upload --repository-url https://pip-exp.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
||||||
@ -26,8 +26,8 @@ upload:
|
|||||||
|
|
||||||
dev:
|
dev:
|
||||||
cpl:
|
cpl:
|
||||||
twine upload --repository-url https://pip-dev.sh-edraft.de dist/sh_cpl/publish/setup/*
|
twine upload --repository-url https://pip-dev.sh-edraft.de dist/sh_cpl-core/publish/setup/*
|
||||||
twine upload -r pip-dev.sh-edraft.de dist/sh_cpl/publish/setup/*
|
twine upload -r pip-dev.sh-edraft.de dist/sh_cpl-core/publish/setup/*
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
twine upload --repository-url https://pip-dev.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
twine upload --repository-url https://pip-dev.sh-edraft.de dist/sh_cpl-cli/publish/setup/*
|
||||||
|
16
scripts/upload.sh
Normal file
16
scripts/upload.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $1 == "-prod" ]; then
|
||||||
|
twine upload -r pip.sh-edraft.de ../dist/sh_cpl-cli/publish/setup/*
|
||||||
|
twine upload -r pip.sh-edraft.de ../dist/sh_cpl-core/publish/setup/*
|
||||||
|
twine upload -r pip.sh-edraft.de ../dist/sh_cpl-query/publish/setup/*
|
||||||
|
elif [ $1 == "-prod" ]; then
|
||||||
|
twine upload -r pip-exp.sh-edraft.de ../dist/sh_cpl-cli/publish/setup/*
|
||||||
|
twine upload -r pip-exp.sh-edraft.de ../dist/sh_cpl-core/publish/setup/*
|
||||||
|
twine upload -r pip-.sh-edraft.de ../dist/sh_cpl-query/publish/setup/*
|
||||||
|
|
||||||
|
else
|
||||||
|
twine upload -r pip-dev.sh-edraft.de ../dist/sh_cpl-cli/publish/setup/*
|
||||||
|
twine upload -r pip-dev.sh-edraft.de ../dist/sh_cpl-core/publish/setup/*
|
||||||
|
twine upload -r pip-dev.sh-edraft.de ../dist/sh_cpl-query/publish/setup/*
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user