@@ -346,64 +346,6 @@ jobs:
346
346
file : /tmp/data/pytest_cov.xml
347
347
flags : pytest
348
348
349
- test_deploy_pypi :
350
- << : *python_defaults
351
- steps :
352
- - checkout
353
- - run :
354
- name : Update build tools
355
- command : pip install --upgrade build twine hatch
356
- - run :
357
- name : Build sMRIPrep
358
- command : python -m build
359
- - run :
360
- name : Twine check smriprep
361
- command : twine check dist/*
362
- - run :
363
- name : Pre-run hatch version
364
- command : hatch version
365
- - store_artifacts :
366
- path : /tmp/src/smriprep/dist
367
- - run :
368
- name : Check sdist distribution
369
- command : |
370
- THISVERSION=$( hatch version )
371
- THISVERSION=${CIRCLE_TAG:-$THISVERSION}
372
- virtualenv --python=python sdist
373
- source sdist/bin/activate
374
- python -m pip install --upgrade pip
375
- python -m pip install dist/smriprep*.tar.gz
376
- which smriprep | grep sdist\\/bin
377
- INSTALLED_VERSION=$(smriprep --version)
378
- INSTALLED_VERSION=${INSTALLED_VERSION%$'\r'}
379
- INSTALLED_VERSION=${INSTALLED_VERSION#*"smriprep v"}
380
- echo "VERSION: \"$THISVERSION\""
381
- echo "INSTALLED: \"$INSTALLED_VERSION\""
382
- test "$INSTALLED_VERSION" = "$THISVERSION"
383
- - run :
384
- name : Check wheel distribution
385
- command : |
386
- THISVERSION=$( hatch version )
387
- THISVERSION=${CIRCLE_TAG:-$THISVERSION}
388
- virtualenv --python=python wheel
389
- source wheel/bin/activate
390
- python -m pip install dist/smriprep*.whl
391
- which smriprep | grep wheel\\/bin
392
- INSTALLED_VERSION=$(smriprep --version)
393
- INSTALLED_VERSION=${INSTALLED_VERSION%$'\r'}
394
- INSTALLED_VERSION=${INSTALLED_VERSION#*"smriprep v"}
395
- echo "VERSION: \"$THISVERSION\""
396
- echo "INSTALLED: \"$INSTALLED_VERSION\""
397
- test "$INSTALLED_VERSION" = "$THISVERSION"
398
- - run :
399
- name : Build smriprep-docker
400
- command : python -m build wrapper
401
- - run :
402
- name : Twine check wrapper
403
- command : twine check wrapper/dist/*
404
- - store_artifacts :
405
- path : /tmp/src/smriprep/wrapper/dist
406
-
407
349
ds005 :
408
350
<< : *machine_defaults
409
351
working_directory : /tmp/ds005
@@ -743,23 +685,6 @@ jobs:
743
685
path : ./docs/_build/html
744
686
destination : versioned
745
687
746
- deploy_pypi :
747
- << : *python_defaults
748
- steps :
749
- - checkout
750
- - run :
751
- name : Update build tools
752
- command : pip install --upgrade build twine
753
- - run :
754
- name : Build sMRIPrep
755
- command : python -m build
756
- - run :
757
- name : Build smriprep-docker
758
- command : python -m build wrapper/
759
- - run :
760
- name : Upload packages to PyPI
761
- command : python -m twine upload dist/smriprep* wrapper/dist/smriprep*
762
-
763
688
deploy_docker :
764
689
<< : *machine_defaults
765
690
working_directory : *src
@@ -826,17 +751,6 @@ workflows:
826
751
tags :
827
752
only : /.*/
828
753
829
- - test_deploy_pypi :
830
- context :
831
- - nipreps-common
832
- filters :
833
- branches :
834
- only :
835
- - /rel\/.*/
836
- - /maint\/.*/
837
- tags :
838
- only : /.*/
839
-
840
754
- test :
841
755
context :
842
756
- nipreps-common
@@ -909,25 +823,13 @@ workflows:
909
823
- build_docs
910
824
- ds005
911
825
- ds054
912
- - test_deploy_pypi
913
826
- test
914
827
filters :
915
828
branches :
916
829
ignore : /.*/
917
830
tags :
918
831
only : /.*/
919
832
920
- - deploy_pypi :
921
- context :
922
- - nipreps-common
923
- requires :
924
- - deploy_docs_tag
925
- filters :
926
- branches :
927
- ignore : /.*/
928
- tags :
929
- only : /.*/
930
-
931
833
- deploy_docker :
932
834
context :
933
835
- nipreps-common
0 commit comments