-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26a1611
commit a3edcae
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,10 +50,11 @@ jobs: | |
uses: actions/setup-python@v5 | ||
- name: Build packages | ||
run: | | ||
pip install wheel -r requirements.txt | ||
python -m venv .venv | ||
.venv/bin/pip install wheel -r requirements.txt | ||
sed -i "s/\(version='[0-9]*\.[0-9]*\.[0-9]*\)\('\)/\1.dev$(date +%Y%m%d%H%M%S)\2/g" setup.py | ||
sed -i "s/5 - Production\/Stable/4 - Beta/g" setup.py | ||
python setup.py clean check sdist bdist_wheel | ||
.venv/bin/python setup.py clean check sdist bdist_wheel | ||
- name: Upload to PyPI Test | ||
uses: pypa/[email protected] | ||
with: | ||
|
@@ -72,8 +73,9 @@ jobs: | |
uses: actions/setup-python@v5 | ||
- name: Build packages | ||
run: | | ||
pip install wheel -r requirements.txt | ||
python setup.py clean check sdist bdist_wheel | ||
python -m venv .venv | ||
.venv/bin/pip install wheel -r requirements.txt | ||
.venv/bin/python setup.py clean check sdist bdist_wheel | ||
- name: Upload to PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
|