From a70ec32b0ef8a5f04aa7e2764f94f1c3486fed86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Tue, 16 Apr 2024 16:23:10 +0200 Subject: [PATCH] Add stable/3.59 shipit configuration --- shipit.stable_3_59.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 shipit.stable_3_59.yml diff --git a/shipit.stable_3_59.yml b/shipit.stable_3_59.yml new file mode 100644 index 00000000000..c24c11d3f4d --- /dev/null +++ b/shipit.stable_3_59.yml @@ -0,0 +1,22 @@ +ci: + require: [] + +dependencies: + override: + # We are making sure the deploys point to the NPM registry to prevent + # 404 issues like the one described in this comment: + # https://github.com/yarnpkg/yarn/issues/2935#issuecomment-355292633 + - echo 'registry "https://registry.npmjs.org/"' | tee .npmrc .yarnrc + - curl -fsSL https://get.pnpm.io/install.sh | PNPM_VERSION=8.15.7 SHELL=`which bash` bash - + - bash -i -c "pnpm install" +deploy: + override: + - bash -i -c "npm_config_loglevel=verbose pnpm changeset publish" + # When this is no longer the latest stable version, do 2 things: + # 1. Replace the previous line with this, replacing 3.x with the actual version: + # - bash -i -c "npm_config_loglevel=verbose pnpm changeset publish --tag stable-3.x" + # This will prevent publishes from being tagged as latest. + # 2. Remove the following line, which updates Homebrew + - bash -i -c "./bin/package.js" + post: + - bash -i -c "pnpm run update-bugsnag"