diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f703d46421..a90a617282 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -152,7 +152,13 @@ jobs: VERSION=$(cat lerna.json | jq -r .version) echo //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN > ~/.npmrc npm dist-tag add eas-cli@$VERSION latest-eas-build-staging - echo "Run \"npm dist-tag add eas-cli@$VERSION latest-eas-build\" to promote it to production." + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} + - name: Add latest-eas-build tag + run: | + VERSION=$(cat lerna.json | jq -r .version) + echo //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN > ~/.npmrc + npm dist-tag add eas-cli@$VERSION latest-eas-build env: NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} release-changelog: diff --git a/RELEASING.md b/RELEASING.md index b2fe7edb52..9d7e2e651f 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -12,7 +12,3 @@ The algorithm works as follows: - If there are any entries in the "🛠 Breaking changes" section, bump the MAJOR version. - Otherwise, if there are any entries in the "🎉 New features", bump the MINOR version. - Otherwise, bump the PATCH version. - -## Updating EAS CLI version on EAS Build - -The release process promotes the new version to staging. After verifying it works there, you can promote it to production with `npm dist-tag add eas-cli@{version} latest-eas-build`.