Skip to content

Commit 9fd8ac1

Browse files
committed
Fix release script tag getting processes.
1 parent 4c60b48 commit 9fd8ac1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v5
5353

5454
- name: Get tags
55-
run: git fetch --tags origin
55+
run: git fetch --tags origin --force # force needed to make re-releases
5656

5757
- uses: dtolnay/rust-toolchain@stable
5858

@@ -84,7 +84,7 @@ jobs:
8484
- uses: actions/checkout@v5
8585

8686
- name: Get tags
87-
run: git fetch --tags origin
87+
run: git fetch --tags origin --force # force needed to make re-releases
8888

8989
- name: Build wheels for manylinux x86_64
9090
uses: PyO3/maturin-action@v1
@@ -109,7 +109,7 @@ jobs:
109109
- uses: actions/checkout@v5
110110

111111
- name: Get tags
112-
run: git fetch --tags origin
112+
run: git fetch --tags origin --force # force needed to make re-releases
113113

114114
- name: Build wheels for manylinux arm64
115115
uses: PyO3/maturin-action@v1
@@ -136,7 +136,7 @@ jobs:
136136
- uses: actions/checkout@v5
137137

138138
- name: Get tags
139-
run: git fetch --tags origin
139+
run: git fetch --tags origin --force # force needed to make re-releases
140140

141141
- name: Build sdist
142142
uses: PyO3/maturin-action@v1

0 commit comments

Comments
 (0)