To release a new version:
-
Push any outstanding changes.
-
WAIT for CI to pass before continuing!
-
gco main
-
Set
x.y.z
intolib/package.json
-
gcmsg 'Release x.y.z'
-
gp
The CI process will automatically git tag
and npm publish
.
(It does this by pattern-matching on ^Release (\S+)
commit messages on the main
branch.)
- After release:
( UPLOAD_WIDGET_VERSION=4.13.0 && \
cd ../bytescale-upload-widget-react && npm install @bytescale/upload-widget@^${UPLOAD_WIDGET_VERSION} && ga -A && gcmsg 'Upgrade @bytescale/upload-widget package' && gp && \
cd ../bytescale-upload-widget-vue && npm install @bytescale/upload-widget@^${UPLOAD_WIDGET_VERSION} && ga -A && gcmsg 'Upgrade @bytescale/upload-widget package' && gp && \
cd ../bytescale-upload-widget-jquery && npm install @bytescale/upload-widget@^${UPLOAD_WIDGET_VERSION} && ga -A && gcmsg 'Upgrade @bytescale/upload-widget package' && gp && \
cd ../bytescale-upload-widget-angular && npm install @bytescale/upload-widget@^${UPLOAD_WIDGET_VERSION} && cd projects/bytescale-upload-widget-angular && npm install @bytescale/upload-widget@^${UPLOAD_WIDGET_VERSION} && ga -A && gcmsg 'Upgrade @bytescale/upload-widget package' && gp )