Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Add client deployment script and update README #19

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Alaanzr
Copy link

@Alaanzr Alaanzr commented Dec 7, 2018

No description provided.

command: echo "//registry.npmjs.org/:_authToken=$PRIVATE_NPM_TOKEN" > ~/.npmrc
- run:
name: Publish to NPM
command: npm publish
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the publish need to happen from the client-build dir? Then I think it needs to be cd client-build && npm publish

- publish_client_version_to_npm:
context: org-global
requires:
- generate_client_version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to add - publish_to_npm as a requirement, so that a client version is only published for a successfully published normal version.

Plus we should also test the client version. So there should also be a job test_client_version (I guess we can just reuse the tests of the normal version?). And publish_to_npm should depend on both test and test_client_version (so we also don't push a "normal" version when we're not sure the client version also works).

@Alaanzr Alaanzr force-pushed the add-uglify-script branch 3 times, most recently from 4175d4a to d3db687 Compare December 7, 2018 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants