We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35df8d9 commit 4cf4e97Copy full SHA for 4cf4e97
1 file changed
.github/workflows/publish-to-testpypi.yml
@@ -12,12 +12,20 @@ jobs:
12
steps:
13
- uses: actions/checkout@v6
14
with:
15
- fetch-tags: true
16
persist-credentials: false
17
18
- name: Fetch tags
19
run: git fetch --tags origin
20
+ - name: DEBUG Check tag
21
+ run: git rev-list --tags --max-count=1
22
+
23
+ - name: DEBUG Check tag date
24
+ run: git show -s --format='%as' $(git rev-list --tags --max-count=1)
25
26
+ - name: Fetch old commits
27
+ run: git fetch --shallow-since=$(git show -s --format='%as' $(git rev-list --tags --max-count=1)) origin
28
29
- name: Set up Python
30
uses: actions/setup-python@v6
31
0 commit comments