Skip to content

Commit 225b770

Browse files
committed
ci: only pull new Go module version on release
1 parent 8a1157a commit 225b770

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,5 @@ jobs:
139139
}
140140
# This updates the documentation on pkg.go.dev and the latest version available via the Go module proxy
141141
- name: Pull new module version
142+
if: startsWith(github.ref, 'refs/tags/')
142143
uses: andrewslotin/[email protected]

0 commit comments

Comments
 (0)