Skip to content

Commit e9e1ce1

Browse files
authoredOct 10, 2023
Change __version__ on release (#529)
* NO-ISSUE Read version dynamically * NO-ISSUE Bye embedded version * NO-ISSUE Replace __version__ with tag on release * NO-ISSUE Modify test * NO-ISSUE Bye minor version up workflow
1 parent 4a16f1b commit e9e1ce1

Some content is hidden

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

46 files changed

+121
-126
lines changed
 

‎.github/workflows/auto-testing.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ jobs:
2424
run: |
2525
python -m pip install --upgrade pip
2626
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
27+
- name: Ensure generate-code.py doesn't throw any error
28+
run: |
29+
python generate-code.py
30+
- name: Update version in linebot/__about__.py
31+
run: |
32+
sed -i 's/__version__ = "__LINE_BOT_SDK_PYTHON_VERSION__"/__version__ = "12.34.5"/g' linebot/__about__.py
33+
cat linebot/__about__.py
2734
- name: Test with pytest
2835
run: |
2936
tox
3037
- name: Ensure README.rst builds correctly for PyPI
3138
run: |
3239
pip install readme-renderer
3340
python -m readme_renderer README.rst >/dev/null
34-
- name: Ensure generate-code.py doesn't throw any error
35-
run: |
36-
python generate-code.py
3741

‎.github/workflows/bump-minor-version.yml

-38
This file was deleted.

0 commit comments

Comments
 (0)