We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56750b5 commit 72193bfCopy full SHA for 72193bf
.github/workflows/monthly-tag.yml
@@ -40,12 +40,11 @@ jobs:
40
41
- name: Create and push the tag
42
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)
+ # E.g. 1.0.0
+ VERSION_BASE=$(cat VERSION | awk '{$1=$1};1')
+ # E.g. 1.0.0.2407
46
+ VERS=$VERSION_BASE.$(date +%y%m)
47
git config --global user.name 'Monthly Tag bot'
48
git config --global user.email '[email protected]'
- 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"
+ git tag "$VERS" -a -m "Monthly version $VERS"
+ git push origin "$VERS"
utils/mathlab_versioning.py
0 commit comments