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

Commit

Permalink
Merge pull request #187 from pxblue/feature/test-pub
Browse files Browse the repository at this point in the history
Fix the auto-publishing script
  • Loading branch information
EvanMcLaughlin-eaton committed Apr 22, 2021
2 parents db9fdc5 + ecb4f58 commit 48c0ca2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
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
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 48c0ca2

Please sign in to comment.