Merge branch 'publish_stack_to_npm' into 'development'
Publish @xocash/stack to NPM See merge request GeneralProtocols/xo/stack!24
This commit is contained in:
@@ -35,6 +35,7 @@ publish:development:
|
||||
# NOTE: The "sed" command will append the JOB_ID version to the current package.json.
|
||||
# TODO: Simplify this in future or use Lerna's "publish" command.
|
||||
- (cd ./packages/primitives && sed -i -r "/version/s/([0-9\.]+)/\1-${NPM_TAG}.${CI_JOB_ID}/g" package.json && npm publish --access public --tag ${NPM_TAG})
|
||||
- (cd ./packages/stack && sed -i -r "/version/s/([0-9\.]+)/\1-${NPM_TAG}.${CI_JOB_ID}/g" package.json && npm publish --access public --tag ${NPM_TAG})
|
||||
only:
|
||||
- development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user