Skip to content

Commit 91860b8

Browse files
Fetch tags
Thanks to actions/checkout#579 (comment)
1 parent 026f4c6 commit 91860b8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ jobs:
7373
runs-on: ubuntu-latest
7474
steps:
7575
- uses: actions/checkout@v4
76+
- name: Fetch all tags
77+
# checkout only gets the latest commit, so it has no tag info
78+
run: git fetch --depth=1 --tags
79+
7680
- uses: actions/setup-go@v5
7781
with:
7882
go-version: "1.22.x"

codegen/gen_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -e
44
cd "$(dirname "$0")/.."
55

6-
go run ./tools/docgen --version $(git describe --tags --abbrev=0) --output ./docs/plugins
6+
go run ./tools/docgen --version $(git tag -l --sort=-creatordate | head -n1) --output ./docs/plugins

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy