Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
fix: context and envs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Apr 1, 2021
1 parent 16a7bde commit 2708a61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ workflows:
promote-to-latest:
triggers:
- schedule:
# Thursdays at 13:00 GMT
cron: 38 14 * * 4
# Thursdays
cron: 53 14 * * 4
filters:
branches:
only:
Expand All @@ -282,6 +282,7 @@ workflows:

# start the change case
- change-case-start:
context: CLI_CTC
requires:
- approval

Expand All @@ -295,6 +296,7 @@ workflows:

# close change case
- close-CTC:
context: CLI_CTC
requires:
- npm-promotions
- promote-channels
3 changes: 1 addition & 2 deletions scripts/promote
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ set -ex
# test channel
CHANNEL=latest-ci-test

CLI_RC_VERSION=${S3_PROMOTE_OVERRIDE_VERSION}
if [ -z "${S3_PROMOTE_OVERRIDE_VERSION}" ]; then
CLI_RC_VERSION=$S3_PROMOTE_OVERRIDE_VERSION
else
# get RC version from npm before we promote it to latest!
CLI_RC_VERSION=$(npm show sfdx-cli --json | jq -r '.["dist-tags"] | .["latest-rc"]')
fi
Expand Down

0 comments on commit 2708a61

Please sign in to comment.