From bb95c0a52a6b84b956c8c655311f3cafc25f8c3f Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Thu, 2 May 2024 13:06:06 -0700 Subject: [PATCH] This is why you don't rush things --- .github/workflows/npm_publish.yml | 7 ++++++- package.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index 03bccf443..9fd0f1177 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -21,7 +21,12 @@ jobs: run: yarn install - name: Build, Test, and Package - run: yarn preversion + run: | + npm unpublish @stellar/stellar-sdk@v12.0.0 + npm unpublish stellar-sdk@v12.0.0 + yarn preversion + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish npm package to both places run: | diff --git a/package.json b/package.json index 4aa92ae98..e6996850b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stellar/stellar-sdk", - "version": "12.0.0", + "version": "12.0.0-rc.1", "description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.", "keywords": [ "stellar"