File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ if [[ "${DRY_RUN:-}" == "yes" ]]; then
1818fi
1919
2020cat << EOT >release-expansion.yml
21+ CARGO_REGISTRY_TOKEN: "${CARGO_REGISTRY_TOKEN} "
2122CRATE_VERSION: "${CRATE_VERSION} "
2223PAPERTRAIL_KEY_ID: "${PAPERTRAIL_KEY_ID} "
2324PAPERTRAIL_SECRET_KEY: "${PAPERTRAIL_SECRET_KEY} "
Original file line number Diff line number Diff line change 1313
1414set -o errexit
1515
16- if [[ -z " $CRATES_IO_TOKEN " ]]; then
17- echo >&2 " \$ CRATES_IO_TOKEN must be set to the crates.io authentication token"
16+ if [[ -z " $CARGO_REGISTRY_TOKEN " ]]; then
17+ echo >&2 " \$ CARGO_REGISTRY_TOKEN must be set to the crates.io authentication token"
1818 exit 1
1919fi
2020
@@ -32,7 +32,7 @@ if [[ "${PACKAGE_ONLY}" == "yes" ]]; then
3232 cargo package --no-verify --allow-dirty
3333else
3434 pushd macros
35- cargo publish --token $CRATES_IO_TOKEN ${EXTRA}
35+ cargo publish ${EXTRA}
3636 popd
37- cargo publish --token $CRATES_IO_TOKEN ${EXTRA}
37+ cargo publish ${EXTRA}
3838fi
Original file line number Diff line number Diff line change 11[package ]
22name = " mongodb-internal-macros"
3+ description = " Internal macros for the mongodb crate"
34version = " 3.0.0-beta"
45edition = " 2021"
56license = " Apache-2.0"
You can’t perform that action at this time.
0 commit comments