Skip to content

Commit 3834a35

Browse files
authored
chore: release fixes (#130)
* bug: gh cli installation * bug: env variable setup * bug: gh auth * cleanup
1 parent 3b432a2 commit 3834a35

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ jobs:
5454
- checkout
5555
- attach_workspace:
5656
at: .
57+
- run:
58+
name: Install GitHub CLI
59+
command: |
60+
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
61+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
62+
sudo apt-get update
63+
sudo apt-get install -y gh
64+
- run:
65+
name: Authenticate GitHub CLI
66+
command: echo "$GITHUB_OAUTH_TOKEN" | gh auth login --with-token
5767
- run:
5868
name: Generate checksums
5969
command: cd bin && sha256sum * > SHA256SUMS

0 commit comments

Comments
 (0)