Skip to content

Commit

Permalink
Re-enable publish to npm registry (microsoft#624)
Browse files Browse the repository at this point in the history
* Re-enable publish to npm registry

* Remove duplicated publish react native icons task
  • Loading branch information
winstonhong15 committed Aug 21, 2023
1 parent 1a39dad commit 149092b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 149092b

Please sign in to comment.