File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2929 python generate-code.py
3030 - name : Update version in linebot/__about__.py
3131 run : |
32- sed -i 's/__version__ = "__LINE_BOT_SDK_PYTHON_VERSION__"/__version__ = "12.34.5"/g' linebot/__about__.py
32+ VERSION="12.3.0"
33+ sed -i 's/__version__ = "__LINE_BOT_SDK_PYTHON_VERSION__"/__version__ = "$VERSION"/g' linebot/__about__.py
3334 cat linebot/__about__.py
3435 - name : Test with pytest
3536 run : |
Original file line number Diff line number Diff line change @@ -24,12 +24,10 @@ jobs:
2424 run : |
2525 python -m pip install --upgrade pip
2626 pip install setuptools wheel twine
27- - name : Show Version Number
28- run : |
29- echo "Version=${{ github.event.release.tag_name }}"
3027 - name : Update version in linebot/__about__.py
3128 run : |
32- sed -i 's/__version__ = "__LINE_BOT_SDK_PYTHON_VERSION__"/__version__ = "'${{ github.event.release.tag_name }}'"/g' linebot/__about__.py
29+ VERSION=${{ github.event.release.tag_name }}
30+ sed -i 's/__version__ = "__LINE_BOT_SDK_PYTHON_VERSION__"/__version__ = "$VERSION"/g' linebot/__about__.py
3331 cat linebot/__about__.py
3432 - name : Build and publish
3533 env :
You can’t perform that action at this time.
0 commit comments