From 149092b521237d5be5a3d1cac8b711b17f6ac017 Mon Sep 17 00:00:00 2001 From: Wangshu Hong Date: Tue, 22 Aug 2023 03:51:50 +0800 Subject: [PATCH] Re-enable publish to npm registry (#624) * Re-enable publish to npm registry * Remove duplicated publish react native icons task --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 23a334d943..81cbd42c9b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -107,7 +107,7 @@ jobs: rm flutter/pubspec.yaml.bk # Needs to be "-E" instead of "-r" on macOS - - name: Replace version number in package.json + - name: Replace version number in svg-icons/package.json run: | sed -i.bk -r "s/\"version\": \"[0-9]+\.[0-9]+\.[0-9]+\"/\"version\": \"$NEW_VERSION\"/g" packages/svg-icons/package.json rm packages/svg-icons/package.json.bk @@ -162,13 +162,13 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} access: public - package: packages/svg-sprites/package.json + package: packages/svg-icons/package.json - uses: JS-DevTools/npm-publish@v1 with: - token: ${{ secrets.NPM_TOKEN }} + token: ${{ secrets.NPM_TOKEN }} access: public - package: packages/react-native-icons/package.json + package: packages/svg-sprites/package.json - uses: JS-DevTools/npm-publish@v1 with: