Skip to content

Commit ee47013

Browse files
authored
Merge pull request #1949 from FCP-INDI/bootstrap-version
Backport PEP 440 development versioning (*.*.*.dev1)
2 parents 060312c + 90882f3 commit ee47013

File tree

53 files changed

+53
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+53
-53
lines changed

.github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/fcp-indi/c-pac/stage-base:abcd-hcp-v1.8.6.dev
1+
FROM ghcr.io/fcp-indi/c-pac/stage-base:abcd-hcp-v1.8.6.dev1
22
LABEL org.opencontainers.image.description "Full C-PAC image with software dependencies version-matched to [ABCD-HCP BIDS fMRI Pipeline](https://github.com/DCAN-Labs/abcd-hcp-pipeline/blob/e480a8f99534f1b05f37bf44c64827384b69b383/Dockerfile)"
33
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/C-PAC
44
USER root

.github/Dockerfiles/C-PAC.develop-bionic.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.6.dev
1+
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.6.dev1
22
LABEL org.opencontainers.image.description "Full C-PAC image"
33
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/C-PAC
44
USER root

.github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/fcp-indi/c-pac/stage-base:fmriprep-lts-v1.8.6.dev
1+
FROM ghcr.io/fcp-indi/c-pac/stage-base:fmriprep-lts-v1.8.6.dev1
22
LABEL org.opencontainers.image.description "Full C-PAC image with software dependencies version-matched to [fMRIPrep LTS](https://reproducibility.stanford.edu/fmriprep-lts#long-term-support-lts)"
33
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/C-PAC
44
USER root

.github/workflows/check_updated_preconfigs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if [[ ! "$COMMIT_MESSAGE" == *"Update version to"* ]]
3535
then
3636
cd CPAC
37-
VERSION=$(python -c "from info import __version__; print('.'.join(('.'.join(__version__[::-1].split('-')[1].split('.')[1:])[::-1], __version__.split('-')[1])) if '-' in __version__ else __version__)")
37+
VERSION=$(python -c "from info import __version__; print(('.'.join(('.'.join(__version__[::-1].split('-')[1].split('.')[1:])[::-1], __version__.split('-')[1])) if '-' in __version__ else __version__).split('+', 1)[0])")
3838
cd ..
3939
echo "v${VERSION}" > version
4040
find ./CPAC/resources/configs -name "*.yml" -exec sed -i -r "s/^(# [Vv]ersion ).*$/# Version ${VERSION}/g" {} \;

CPAC/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_cpac_gitversion():
8383
if 'dev' in _version_extra:
8484
gitversion = get_cpac_gitversion()
8585
if gitversion:
86-
_version_extra = gitversion + '-' + 'dev'
86+
_version_extra = f'dev1+{gitversion}'
8787

8888

8989
__version__ = "%s.%s.%s" % (_version_major,

CPAC/resources/configs/data_config_S3-BIDS-ABIDE.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.6.dev
2+
# Version 1.8.6.dev1
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_S3-BIDS-ADHD200.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.6.dev
2+
# Version 1.8.6.dev1
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_S3-BIDS-ADHD200_only2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.6.dev
2+
# Version 1.8.6.dev1
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_S3-BIDS-NKI-RocklandSample.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.6.dev
2+
# Version 1.8.6.dev1
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_cpac_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.6.dev
2+
# Version 1.8.6.dev1
33
#
44
# http://fcp-indi.github.io for more info.
55
#

0 commit comments

Comments
 (0)