Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Fix the auto-publishing script #187

Merged
merged 17 commits into from
Apr 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
at: .
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish @pxblue/angular-themes
command: |
Expand Down
2 changes: 2 additions & 0 deletions angular/scripts/publish.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

MASTER_VERSION=`node -p "require('./package.json').version"`
NPM_LATEST_VERSION=`npm show @pxblue/angular-themes version`
NPM_BETA_VERSION=`npm show @pxblue/angular-themes@beta version`
Expand Down
2 changes: 2 additions & 0 deletions react-native/scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

MASTER_VERSION=`node -p "require('./package.json').version"`
NPM_LATEST_VERSION=`npm show @pxblue/react-native-themes version`
NPM_BETA_VERSION=`npm show @pxblue/react-native-themes@beta version`
Expand Down
2 changes: 2 additions & 0 deletions react/scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

cd dist

MASTER_VERSION=`node -p "require('./package.json').version"`
Expand Down
2 changes: 2 additions & 0 deletions storybook/scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

MASTER_VERSION=`node -p "require('./package.json').version"`
NPM_LATEST_VERSION=`npm show @pxblue/storybook-themes version`
NPM_BETA_VERSION=`npm show @pxblue/storybook-themes@beta version`
Expand Down