Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable publish to npm registry #624

Merged
merged 4 commits into from
Aug 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
winstonhong15 marked this conversation as resolved.
Show resolved Hide resolved
access: public
package: packages/react-native-icons/package.json
package: packages/svg-sprites/package.json

- uses: JS-DevTools/npm-publish@v1
with:
Expand Down
Loading