diff options
Diffstat (limited to 'tests/guix-git-authenticate.sh')
-rw-r--r-- | tests/guix-git-authenticate.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/guix-git-authenticate.sh b/tests/guix-git-authenticate.sh index 7b8951b9aa..6cbb7b59c1 100644 --- a/tests/guix-git-authenticate.sh +++ b/tests/guix-git-authenticate.sh @@ -1,5 +1,5 @@ # GNU Guix --- Functional package management for GNU -# Copyright © 2020, 2022, 2024 Ludovic Courtès <ludo@gnu.org> +# Copyright © 2020, 2022, 2024-2025 Ludovic Courtès <ludo@gnu.org> # # This file is part of GNU Guix. # @@ -53,6 +53,13 @@ guix git authenticate \ --cache-key="$cache_key" --stats \ --end="$v1_2_0_commit" +# Likewise, but pass the OID of the annotated tag 'v1.2.0' instead of that of +# the commit--this mimics what the pre-push hook gets when pushing tags. +v1_2_0_annotated_tag="d5b556eef57321d0be89fdb07db447b2db2718ed" +guix git authenticate \ + --cache-key="$cache_key" --stats \ + --end="$v1_2_0_annotated_tag" + rm "$XDG_CACHE_HOME/guix/authentication/$cache_key" # Commit and signer of the 'v1.0.0' tag. |