drone/GiteaComposerPackage: ensure zip path does not include the path to the composer repository

This commit is contained in:
David Hiendl 2022-10-21 03:06:45 +02:00
parent bd1ae70518
commit fe2ea92a41

View File

@ -18,7 +18,9 @@
mv $COMPOSER_PACKAGE_DIR/composer.json.tmp $COMPOSER_PACKAGE_DIR/composer.json
# create zip
- zip -r $COMPOSER_PACKAGE_FILE $COMPOSER_PACKAGE_DIR
- |
cd $COMPOSER_PACKAGE_DIR
zip -r $COMPOSER_PACKAGE_FILE .
# prepare upload helper function
- |