File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3030 with :
3131 fetch-depth : 0
3232
33+ - name : Patch version template
34+ # Due to change above, git stage area is dirty, so we need to patch the template
35+ run : sed -i 's#dirty_template = ".*"#dirty_template = "{tag}.dev{env:GITHUB_RUN_ID:{ccount}}"#' pyproject.toml
36+
3337 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
3438 id : python
3539 uses : actions/setup-python@v6
Original file line number Diff line number Diff line change 2828 with :
2929 fetch-depth : 0
3030
31+ - name : Patch version template
32+ # Due to change above, git stage area is dirty, so we need to patch the template
33+ run : sed -i 's#dirty_template = ".*"#dirty_template = "{tag}"#' pyproject.toml
34+
3135 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
3236 id : python
3337 uses : actions/setup-python@v6
You can’t perform that action at this time.
0 commit comments