File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ if [[ -z "$TAG" ]]; then
16
16
exit 1
17
17
fi
18
18
19
- if [[ -z " $TOKEN " ]]; then
20
- >&2 echo " \$ TOKEN must be set to the crates.io authentication token"
19
+ if [[ -z " $CRATES_IO_TOKEN " ]]; then
20
+ >&2 echo " \$ CRATES_IO_TOKEN must be set to the crates.io authentication token"
21
21
exit 1
22
22
fi
23
23
@@ -26,4 +26,4 @@ git checkout $TAG
26
26
27
27
. ~ /.cargo/env
28
28
29
- cargo publish --token $TOKEN
29
+ cargo publish --token $CRATES_IO_TOKEN
Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ functions:
20
20
type : test
21
21
params :
22
22
working_dir : " src"
23
+ include_expansions_in_env :
24
+ - CRATES_IO_TOKEN
23
25
script : |
24
26
set +x
25
27
26
28
TAG=${GIT_TAG} \
27
- TOKEN=${CRATES_IO_TOKEN} \
28
29
bash .evergreen/release-danger-do-not-run-manually.sh
29
30
30
31
tasks :
You can’t perform that action at this time.
0 commit comments