We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d26089 commit 9f34b98Copy full SHA for 9f34b98
.github/workflows/release.yml
@@ -3,6 +3,11 @@ name: Publish Release
3
4
permissions: read-all
5
6
+concurrency:
7
+ # stop previous release runs if tag is recreated
8
+ group: release-${{ github.ref }}
9
+ cancel-in-progress: true
10
+
11
on:
12
push:
13
tags:
@@ -42,7 +47,9 @@ jobs:
42
47
run: |
43
48
TAG_NAME=${GITHUB_REF#refs/tags/}
44
49
echo "Verifying tag $TAG_NAME..."
45
- git fetch --tags
50
+ # if a tag was deleted and recreated we may have the old one cached
51
+ # be sure that we're publishing the current tag!
52
+ git fetch --force origin refs/tags/$TAG_NAME:refs/tags/$TAG_NAME
46
53
curl -sL https://github.com/${{ github.actor }}.gpg | gpg --import
54
git tag -v "$TAG_NAME"
55
- name: Install uv
0 commit comments