forked from PyDMD/PyDMD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request PyDMD#536 from PyDMD/pyproject-toml
Migrate `setup.py` to `pyproject.toml`, and CalVer
- Loading branch information
Showing
16 changed files
with
189 additions
and
319 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
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
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
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ jobs: | |
python-version: ["3.7", "3.8", "3.9", "3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4.1.7 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4.5.0 | ||
uses: actions/setup-python@v5.1.1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -40,12 +40,9 @@ jobs: | |
|
||
- name: Create and push the tag | ||
run: | | ||
python utils/mathlab_versioning.py set --only-date "dev$(date +%y%m)" | ||
cat pydmd/meta.py | ||
VERS=$(python utils/mathlab_versioning.py get) | ||
# CalVer, e.g. 2024.07.19 | ||
VERS=$(date +%Y.%m.%d) | ||
git config --global user.name 'Monthly Tag bot' | ||
git config --global user.email '[email protected]' | ||
git add pydmd/meta.py | ||
git commit -m "monthly version $VERS" | ||
git tag -a "v$VERS" -m "Monthly version $VERS" | ||
git push origin "v$VERS" | ||
git tag "$VERS" -a -m "Monthly version $VERS" | ||
git push origin "$VERS" |
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
File renamed without changes.
Oops, something went wrong.