The scripts in this directory are used to build docker images for local
development (build_docker_images.sh
) and to build and release our Docker Hub
and NPM artifacts.
In order to update skiplabs/skdb-base
, skiplabs/skdb
, or
skiplabs/skdb-dev-server
to the current state of your git clone, you can run
release_docker_skdb_base.sh
, release_docker_skdb.sh
, or
release_docker_skdb_dev_server.sh
respectively. For the dev-server
, you can
choose to release either or both of the latest
and quickstart
tags.
-
Check out
main
and make sure your working copy is clean -
Bump version numbers and/or dependencies for whichever packages you want to update, in
sql/npm.json
,packages/dev/package.json
, and/orpackages/react/package.json
-
Commit your changes with a message like
NPM versions: [email protected], [email protected], [email protected]
, but don't push yet. -
Run
release_npm_skdb.sh
to release the baseskdb
package. Note that this script requiresskargo
, so may need to run inside of a docker environment. If so, make sure to runnpm login
first so that the CLI can authenticate. -
If you're also updating
skdb-dev
orskdb-react
, then(cd packages/dev && rm -rf node_modules && yarn install)
and/or(cd packages/react && rm -rf node_modules && yarn install)
to update theyarn.lock
files. Then, run either or both ofrelease_npm_skdb_dev.sh
andrelease_npm_skdb_react.sh
, andgit add packages/*/yarn.lock && git commit --amend --no-edit
to add theyarn.lock
changes to your version-bump git commit. -
git push origin HEAD