File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 3030 - name : Update version in linebot/__about__.py
3131 run : |
3232 VERSION="12.3.0"
33+ VERSION=${VERSION#v}
3334 sed -i "s/__version__ = '__LINE_BOT_SDK_PYTHON_VERSION__'/__version__ = '$VERSION'/g" linebot/__about__.py
3435 cat linebot/__about__.py
3536 - name : Test with pytest
Original file line number Diff line number Diff line change 2727 - name : Update version in linebot/__about__.py
2828 run : |
2929 VERSION=${{ github.event.release.tag_name }}
30- sed -i 's/__version__ = "__LINE_BOT_SDK_PYTHON_VERSION__"/__version__ = "$VERSION"/g' linebot/__about__.py
30+ VERSION=${VERSION#v}
31+ sed -i "s/__version__ = '__LINE_BOT_SDK_PYTHON_VERSION__'/__version__ = '$VERSION'/g" linebot/__about__.py
3132 cat linebot/__about__.py
3233 - name : Build and publish
3334 env :
You can’t perform that action at this time.
0 commit comments