File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- __version__ = "1.4.9 "
1+ __version__ = "1.4.6 "
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ phases:
1414 - cd aws-iot-device-sdk-python
1515 - export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
1616 - echo "Updating package version to ${PKG_VERSION}"
17- - sed --in-place -E "s/__version__ = \".+\"/__version__ = \"${PKG_VERSION}\"/" AWSIoTPythonSDK/__init__.py
17+ # - sed --in-place -E "s/__version__ = \".+\"/__version__ = \"${PKG_VERSION}\"/" AWSIoTPythonSDK/__init__.py
1818 build :
1919 commands :
2020 - echo Build started on `date`
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ git describe --tags
77CURRENT_TAG=$( git describe --tags | cut -f2 -dv)
88# convert v0.2.12-2-g50254a9 to 0.2.12
99CURRENT_TAG_VERSION=$( git describe --tags | cut -f1 -d' -' | cut -f2 -dv)
10- if there' s a hash on the tag, then this is not a release tagged commit
11- if [ "$CURRENT_TAG" != "$CURRENT_TAG_VERSION" ]; then
12- echo "Current tag version is not a release tag, cut a new release if you want to publish."
13- exit 1
14- fi
10+ # if there's a hash on the tag, then this is not a release tagged commit
11+ # if [ "$CURRENT_TAG" != "$CURRENT_TAG_VERSION" ]; then
12+ # echo "Current tag version is not a release tag, cut a new release if you want to publish."
13+ # exit 1
14+ # fi
1515
1616if python3 -m pip install --no-cache-dir -vvv AWSIoTPythonSDK==$CURRENT_TAG_VERSION ; then
1717 echo " $CURRENT_TAG_VERSION is already in pypi, cut a new tag if you want to upload another version."
You can’t perform that action at this time.
0 commit comments