File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ CURRENT_TAG=$(git tag --merged HEAD | grep -xE '^v.*' | sort --version-sort | ta
1616# Get <major>.<minor> for next version
1717NEXT_MAJOR=$( echo " $NEXT_FULL_TAG " | awk ' {split($0, a, "."); print a[1]}' )
1818NEXT_MINOR=$( echo " $NEXT_FULL_TAG " | awk ' {split($0, a, "."); print a[2]}' )
19+ NEXT_PATCH=$( echo " $NEXT_FULL_TAG " | awk ' {split($0, a, "."); print a[3]}' )
1920NEXT_SHORT_TAG=${NEXT_MAJOR} .${NEXT_MINOR}
2021
2122# Need to distutils-normalize the original version
2223NEXT_SHORT_TAG_PEP440=$( python -c " from packaging.version import Version; print(Version('${NEXT_SHORT_TAG} '))" )
24+ PATCH_PEP440=$( python -c " from packaging.version import Version; print(Version('${NEXT_PATCH} '))" )
2325
2426echo " Preparing release $CURRENT_TAG => $NEXT_FULL_TAG "
2527
You can’t perform that action at this time.
0 commit comments