Skip to content

Commit 72193bf

Browse files
committed
nn
1 parent 56750b5 commit 72193bf

File tree

2 files changed

+6
-96
lines changed

2 files changed

+6
-96
lines changed

.github/workflows/monthly-tag.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ jobs:
4040

4141
- name: Create and push the tag
4242
run: |
43-
python utils/mathlab_versioning.py set --only-date "dev$(date +%y%m)"
44-
cat pydmd/meta.py
45-
VERS=$(python utils/mathlab_versioning.py get)
43+
# E.g. 1.0.0
44+
VERSION_BASE=$(cat VERSION | awk '{$1=$1};1')
45+
# E.g. 1.0.0.2407
46+
VERS=$VERSION_BASE.$(date +%y%m)
4647
git config --global user.name 'Monthly Tag bot'
4748
git config --global user.email '[email protected]'
48-
git add pydmd/meta.py
49-
git commit -m "monthly version $VERS"
50-
git tag -a "v$VERS" -m "Monthly version $VERS"
51-
git push origin "v$VERS"
49+
git tag "$VERS" -a -m "Monthly version $VERS"
50+
git push origin "$VERS"

utils/mathlab_versioning.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)