Commit 1b816a12 authored by Kristin's avatar Kristin Committed by Laura, Jason R
Browse files

Add information about tokens for anaconda upload

parent e085072f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -96,6 +96,9 @@ In this step, we will upload the build(s) that we just created into the Anaconda
* For an Release Candidate, use the command ```anaconda upload -u usgs-astrogeology -l RC <path-to-the-.tar.bz2-file>```.
* For a custom build, specify a custom label and use the command ```anaconda upload -u usgs-astrogeology -l <custom-label> <path-to-the-.tar.bz2-file>```.
   * For example, when generating a custom build for the CaSSIS team, we would use the "cassis" label and the command ```anaconda upload -u usgs-astrogeology -l cassis <path-to-the-.tar.bz2-file>```.

If the upload fails or displays a prompt for a username and password, try adding an API token for usgs-astrogeology to your environment by running `export ANACONDA_API_TOKEN=<token>`. Ask another developer for the API token. This approach is recommended over adding `-t <token>` to your anaconda upload command, because of a known bug where `-t` is either interpreted as a packaged type or a token depending on its position in the `anaconda upload` command. 

## Step 5: Back up the Build 
Back up the build by copying the .tar.bz2 to:
  * /work/projects/conda-bld/osx-64/ for Mac OS 10.13.