mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
catch meta packages in artifacts
This commit is contained in:
parent
a37c680530
commit
3692887d80
2 changed files with 6 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ build:py2:
|
|||
artifacts:
|
||||
paths:
|
||||
- dist/
|
||||
- pkgs/*/dist/
|
||||
- meta/
|
||||
|
||||
build:py3:
|
||||
stage: build
|
||||
|
|
@ -63,7 +63,7 @@ build:py3:
|
|||
artifacts:
|
||||
paths:
|
||||
- dist/
|
||||
- pkgs/*/dist/
|
||||
- meta/
|
||||
|
||||
deploy:demo:
|
||||
stage: deploy
|
||||
|
|
|
|||
|
|
@ -19,21 +19,25 @@ pip install wheel
|
|||
echo "building dist"
|
||||
[ "$(sed 's/\([[:digit:]]*\)\..*$/\1/' <<<$VERSION)" -eq 2 ] && {
|
||||
$PYTHON setup.py sdist bdist_wheel bdist_egg
|
||||
mkdir meta
|
||||
cd pkgs
|
||||
for pkg in *
|
||||
do
|
||||
cd $pkg
|
||||
$PYTHON setup.py sdist bdist_wheel bdist_egg
|
||||
find dist -exec cp "{}" ../../meta/ \;
|
||||
cd ..
|
||||
done
|
||||
cd ..
|
||||
} || {
|
||||
$PYTHON setup.py bdist_egg
|
||||
mkdir meta
|
||||
cd pkgs
|
||||
for pkg in *
|
||||
do
|
||||
cd $pkg
|
||||
$PYTHON setup.py bdist_egg
|
||||
find dist -exec cp "{}" ../../meta/ \;
|
||||
cd ..
|
||||
done
|
||||
cd ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue