Merge branch 'specify_public_during_publish' into 'development'
Specify package is public during publish See merge request GeneralProtocols/xo/stack!15
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ publish:development:
|
|||||||
# Publish Primitives
|
# Publish Primitives
|
||||||
# NOTE: The "sed" command will append the JOB_ID version to the current package.json.
|
# 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.
|
# 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 --tag ${NPM_TAG})
|
- (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})
|
||||||
only:
|
only:
|
||||||
- development
|
- development
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user