Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 7a8fa56

Browse files
authored
use latest instead of distro version (cli/cli#5523 (comment) / #1420) (#1429)
1 parent f03374c commit 7a8fa56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-library/github-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ echo "Downloading github CLI..."
181181
# Import key safely (new method rather than deprecated apt-key approach) and install
182182
. /etc/os-release
183183
receive_gpg_keys GITHUB_CLI_ARCHIVE_GPG_KEY /usr/share/keyrings/githubcli-archive-keyring.gpg
184-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/github-cli.list
184+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list
185185
apt-get update
186186
apt-get -y install "gh${version_suffix}"
187187
rm -rf "/tmp/gh/gnupg"

0 commit comments

Comments
 (0)