Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Jan 13, 2024
1 parent b0c8d73 commit 81253d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/trusted-publishers/using-a-publisher.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ below describe the setup process for each supported trusted publisher.

```bash
resp=$(curl -X POST https://pypi.org/_/oidc/mint-token -d "{\"token\": \"${oidc_token}\"}")
api_token=$(jq '.token' <<< "${resp}")
api_token=$(jq -r '.token' <<< "${resp}")
```

!!! note
Expand All @@ -263,7 +263,7 @@ below describe the setup process for each supported trusted publisher.
This API token can be fed into `twine` or any other uploading client:

```bash
TWINE_USERNAME=__token__ TWINE_PASSWORD="${api_token}" twine upload dist/*
TWINE_USERNAME=__token__ TWINE_PASSWORD=${api_token} twine upload dist/*
```

=== "ActiveState"
Expand Down

0 comments on commit 81253d6

Please sign in to comment.