File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 git add src/datajoint/version.py
4848 git commit -m "Update version.py to $VERSION"
4949 echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
50- - name : Update README.md badge
51- run : |
52- # commits since the last release
53- NEW_HREF="https://github.com/datajoint/datajoint-python/compare/${{ github.event.release.tag_name }}...master"
54- NEW_SRC="https://img.shields.io/github/commits-since/datajoint/datajoint-python/${{ github.event.release.tag_name }}?color=red"
55- # Update href in the <a> tag
56- sed -i 's|\(<a id="commit-since-release-link"[^>]*href="\)[^"]*\(".*\)|\1'"$NEW_HREF"'\2|' README.md
57- # Update src in the <img> tag
58- sed -i 's|\(<img id="commit-since-release-img"[^>]*src="\)[^"]*\(".*\)|\1'"$NEW_SRC"'\2|' README.md
59- git add README.md
60- # Only commit if there are changes (handles re-runs gracefully)
61- git diff --cached --quiet README.md || git commit -m "Update README.md badge to ${{ github.event.release.tag_name }}"
6250 - name : Set up Python ${{matrix.py_ver}}
6351 uses : actions/setup-python@v5
6452 with :
Original file line number Diff line number Diff line change 44
55| Branch | Purpose | Version |
66| --------| ---------| ---------|
7- | ` master ` | Main development | 2.1.x |
8- | ` maint/2.0 ` | Maintenance releases | 2.0.x |
9-
10- For 2.0.x bugfixes:
11- 1 . Commit to ` maint/2.0 `
12- 2 . Tag and release as v2.0.x
13- 3 . Cherry-pick to master if applicable
7+ | ` master ` | Main development | 2.3.x |
148
159---
1610
@@ -68,10 +62,11 @@ The release drafter uses PR labels to categorize changes:
6862
6963| Label | Category |
7064| -------| ----------|
71- | ` breaking ` | BREAKING CHANGES |
72- | ` enhancement ` | Added |
73- | ` bug ` | Fixed |
74- | ` documentation ` | (usually excluded) |
65+ | ` breaking ` | 💥 Breaking Changes |
66+ | ` feature ` | 🚀 Features |
67+ | ` enhancement ` | ⚡️ Enhancements |
68+ | ` bug ` | 🐛 Bug Fixes |
69+ | ` documentation ` | 📝 Documentation |
7570
7671Ensure PRs have appropriate labels before merging.
7772
@@ -215,6 +210,7 @@ After build completes:
215210
216211- @datajointbot
217212- @dimitri-yatsenko
213+ - @MilagrosMarin
218214- @ttngu207
219215
220216## Links
Original file line number Diff line number Diff line change 11# version bump auto managed by Github Actions:
2- # label_prs .yaml(prep ), release .yaml(bump), post_release.yaml(edit )
2+ # draft_release .yaml (draft ), post_draft_release_published .yaml (bump + PR )
33# manually set this version will be eventually overwritten by the above actions
44__version__ = "2.3.1"
You can’t perform that action at this time.
0 commit comments