Skip to content

Commit

Permalink
docs: Use export for shell variables (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw authored Mar 10, 2024
1 parent 4a41e97 commit a978f9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/authentication_and_upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ You need to pass a token and API key to upload to a channel on your own Quetz
server. The token is used to authenticate the upload.

```bash
QUETZ_API_KEY=<your_token>
export QUETZ_API_KEY=<your_token>
rattler-build upload quetz -u <url> -c <channel> <package_files>
```

Expand All @@ -85,8 +85,8 @@ To upload to an Artifactory server, you need to pass a username and password.
The username and password are used to authenticate the upload.

```bash
ARTIFACTORY_USERNAME=<your_username>
ARTIFACTORY_PASSWORD=<your_password>
export ARTIFACTORY_USERNAME=<your_username>
export ARTIFACTORY_PASSWORD=<your_password>
rattler-build upload artifactory -u <url> -c <channel> <package_files>
```

Expand All @@ -105,7 +105,7 @@ You can also add the `--force` argument to forcibly upload a new package (and
overwrite any existing ones).

```bash
ANACONDA_OWNER=<your_username>
ANACONDA_API_KEY=<your_token>
export ANACONDA_OWNER=<your_username>
export ANACONDA_API_KEY=<your_token>
rattler-build upload anaconda -c <channel> <package_files>
```

0 comments on commit a978f9a

Please sign in to comment.