diff --git a/.github/workflows/temp-push-auxiliary-tags.yml b/.github/workflows/temp-push-auxiliary-tags.yml deleted file mode 100644 index 077b52351c..0000000000 --- a/.github/workflows/temp-push-auxiliary-tags.yml +++ /dev/null @@ -1,49 +0,0 @@ -# Temporary workflow just to fix currently not pushed tags for our release, will be removed. -name: Push Tags for Auxiliary Packages -on: - workflow_dispatch: - -permissions: - contents: none # We use the github app to checkout and push tags - -jobs: - publish: - runs-on: ubuntu-latest - environment: Production - - steps: - - uses: mongodb-js/devtools-shared/actions/setup-bot-token@d638357cabd624ae626d9abb62cbac2760aea932 - id: app-token - with: - app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }} - private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }} - - - uses: actions/checkout@v4 - with: - # don't checkout a detatched HEAD - ref: ${{ github.head_ref }} - - # this is important so git log can pick up on - # the whole history to generate the list of AUTHORS - fetch-depth: "0" - token: ${{ steps.app-token.outputs.token }} - - - name: "Use Node.js 20" - uses: actions/setup-node@v4 - with: - node-version: 20.16.0 - - - name: Install npm@10.2.4 - run: npm install -g npm@10.2.4 - - - name: Install Dependencies - run: | - npm ci - - - name: "Pushing tags..." - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc - npm config list - npm run tags-auxiliary diff --git a/package.json b/package.json index 98f3d6ae81..af12edefb6 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,7 @@ "precommit": "precommit", "preinstall": "node scripts/sort-workspaces.js", "bump-auxiliary": "npm run bump-auxiliary --workspace @mongosh/build", - "publish-auxiliary": "npm run publish-auxiliary --workspace @mongosh/build", - "tags-auxiliary": "npm run tags-auxiliary --workspace @mongosh/build" + "publish-auxiliary": "npm run publish-auxiliary --workspace @mongosh/build" }, "config": { "unsafe-perm": true diff --git a/packages/build/package.json b/packages/build/package.json index 40b251ad18..186a3b4e17 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -30,7 +30,6 @@ "publish": "ts-node src/index.ts publish", "bump-auxiliary": "ts-node src/index.ts bump --auxiliary", "publish-auxiliary": "ts-node src/index.ts publish --auxiliary", - "tags-auxiliary": "ts-node src/index.ts temp-push-auxiliary-tags --auxiliary", "reformat": "npm run prettier -- --write . && npm run eslint --fix" }, "license": "Apache-2.0", diff --git a/packages/build/src/index.ts b/packages/build/src/index.ts index 44f6019333..665e90d946 100644 --- a/packages/build/src/index.ts +++ b/packages/build/src/index.ts @@ -20,7 +20,6 @@ const validCommands: (ReleaseCommand | 'trigger-release')[] = [ 'download-crypt-shared-library', 'download-and-list-artifacts', 'trigger-release', - 'temp-push-auxiliary-tags', ] as const; const isValidCommand = ( diff --git a/packages/build/src/release.ts b/packages/build/src/release.ts index dbbd422870..637f154deb 100644 --- a/packages/build/src/release.ts +++ b/packages/build/src/release.ts @@ -34,7 +34,6 @@ export type ReleaseCommand = | 'download-crypt-shared-library' | 'download-and-list-artifacts' | 'draft' - | 'temp-push-auxiliary-tags' | 'publish'; /** @@ -57,11 +56,6 @@ export async function release( redactConfig(config) ); - if (command === 'temp-push-auxiliary-tags') { - pushTags({ useAuxiliaryPackagesOnly: true }); - return; - } - if (command === 'bump') { bumpAuxiliaryPackages(); if (!config.useAuxiliaryPackagesOnly) {