Merge pull request #6340 from hpcaitech/release/v0.5.0

[release] update version
This commit is contained in:
Hanks 2025-06-04 13:57:10 +08:00 committed by GitHub
commit 97f4bee9d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 11 additions and 22 deletions

View File

@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: "3.8.14" python-version: "3.9"
- run: python .github/workflows/scripts/check_doc_i18n.py -d docs/source - run: python .github/workflows/scripts/check_doc_i18n.py -d docs/source
@ -50,7 +50,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: "3.8.14" python-version: "3.9"
# we use the versions in the main branch as the guide for versions to display # we use the versions in the main branch as the guide for versions to display
# checkout will give your merged branch # checkout will give your merged branch

View File

@ -19,7 +19,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- name: generate draft - name: generate draft
id: generate_draft id: generate_draft
run: | run: |

View File

@ -53,7 +53,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: "3.8.14" python-version: "3.9"
- name: Install requests - name: Install requests
run: pip install requests run: pip install requests

View File

@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- run: | - run: |
python .github/workflows/scripts/update_setup_for_nightly.py python .github/workflows/scripts/update_setup_for_nightly.py
@ -43,7 +43,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- name: Install requests - name: Install requests
run: pip install requests run: pip install requests

View File

@ -7,9 +7,6 @@ on:
- 'version.txt' - 'version.txt'
types: types:
- closed - closed
permissions:
id-token: write
contents: read
jobs: jobs:
build-n-publish: build-n-publish:
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main' if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main'
@ -21,7 +18,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- run: python setup.py sdist build - run: python setup.py sdist build
@ -44,7 +41,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- name: Install requests - name: Install requests
run: pip install requests run: pip install requests

View File

@ -5,26 +5,18 @@ on:
paths: paths:
- 'version.txt' - 'version.txt'
permissions:
id-token: write
contents: read
jobs: jobs:
build-n-publish: build-n-publish:
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI'
name: Build and publish Python 🐍 distributions 📦 to Test PyPI name: Build and publish Python 🐍 distributions 📦 to Test PyPI
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 20 timeout-minutes: 20
permissions:
id-token: write
contents: read
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- name: add timestamp to the version - name: add timestamp to the version
id: prep-version id: prep-version

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8.14' python-version: '3.9'
- run: pip install requests matplotlib seaborn requests_toolbelt pytz - run: pip install requests matplotlib seaborn requests_toolbelt pytz

View File

@ -1 +1 @@
0.5.1 0.5.0