Skip to content

Commit 80035d9

Browse files
committed
Fix dev package release
1 parent 23d8a67 commit 80035d9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/dev-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
sed -i "s#logo_wide_white_text.svg#logo_wide.svg#g" README.rst
5151
5252
- name: Patch version template
53+
# Due to change above, git stage area is dirty, so we need to patch the template
5354
run: sed -i 's#dirty_template = ".*"#dirty_template = "{tag}.dev{env:GITHUB_RUN_ID:{ccount}}"#' pyproject.toml
5455

5556
- name: Build package

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
sed -i "s#logo_wide_white_text.svg#logo_wide.svg#g" README.rst
5454
5555
- name: Patch version template
56+
# Due to change above, git stage area is dirty, so we need to patch the template
5657
run: sed -i 's#dirty_template = ".*"#dirty_template = "{tag}"#' pyproject.toml
5758

5859
- name: Build package

0 commit comments

Comments
 (0)