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:
Jim Hamill
2025-01-13 02:59:35 +00:00
+1 -1
View File
@@ -34,7 +34,7 @@ publish:development:
# Publish Primitives
# 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 --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:
- development