From 1df1402f6b3389f4ae69c1920bc888cc26d5798a Mon Sep 17 00:00:00 2001 From: Catherine Date: Tue, 31 Mar 2026 09:09:32 +0000 Subject: [PATCH] CI: fetch tags when building release artifacts. --- .forgejo/workflows/ci.yaml | 3 +++ .gitignore | 1 + 2 files changed, 4 insertions(+) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index bfeff18..664e1d6 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -51,6 +51,9 @@ jobs: # git needs to be installed for build information embedding to work - name: Check out source code uses: https://code.forgejo.org/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up toolchain uses: https://code.forgejo.org/actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: diff --git a/.gitignore b/.gitignore index 67013fb..3188505 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /config*.toml* /git-pages /site +/assets