File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,19 @@ before_install:
2323- &install-and-test-cherry-picker
2424 << : *run-if-cherry-picker-or-untagged
2525 env :
26- PROJECT : cherry-picker
26+ TARGET_PKG : cherry_picker
2727 install :
28- - pushd cherry_picker
28+ - &cd-to-project pushd "$TARGET_PKG"
2929 - flit install
3030 script :
3131 - pytest cherry_picker/test.py -v
3232 - popd
3333- &install-and-test-blurb
3434 << : *run-if-blurb-or-untagged
3535 env :
36- PROJECT : blurb
36+ TARGET_PKG : blurb
3737 install :
38- - pushd blurb
38+ - *cd-to-project
3939 - flit install
4040 - popd
4141 script :
@@ -44,6 +44,8 @@ before_install:
4444 stage : Publish dists to PYPI
4545 << : *run-if-tagged
4646 python : " 3.6-dev"
47+ install :
48+ - *cd-to-project
4749 script :
4850 - flit build
4951 before_deploy :
@@ -91,16 +93,12 @@ jobs:
9193 - << : *deploy-base
9294 << : *run-if-cherry-picker
9395 env :
94- TARGET_PKG : cherry-picker
95- install :
96- - pushd cherry_picker
96+ TARGET_PKG : cherry_picker
9797
9898 - << : *deploy-base
9999 << : *run-if-blurb
100100 env :
101101 TARGET_PKG : blurb
102- install :
103- - pushd blurb
104102 deploy :
105103 << : *deployment-config
106104 user : *pypi-user # TODO: consider having a separate "uploader user"
You can’t perform that action at this time.
0 commit comments