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 026f4c6 commit 91860b8Copy full SHA for 91860b8
.github/workflows/main.yml
@@ -73,6 +73,10 @@ jobs:
73
runs-on: ubuntu-latest
74
steps:
75
- 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
+
80
- uses: actions/setup-go@v5
81
with:
82
go-version: "1.22.x"
codegen/gen_docs.sh
@@ -3,4 +3,4 @@
3
set -e
4
cd "$(dirname "$0")/.."
5
6
-go run ./tools/docgen --version $(git describe --tags --abbrev=0) --output ./docs/plugins
+go run ./tools/docgen --version $(git tag -l --sort=-creatordate | head -n1) --output ./docs/plugins
0 commit comments