To release a new version:
- Run
export VERSION="x.z.z" - Update
versioninpackage.jsonandpackage-lock.json. - Commit changes.
- Run
git tag "v${VERSION}" && git push --tags - Run
npm publish. - Build and push docker image:
docker build -t "widdix/widdix:v${VERSION}" .
docker tag "widdix/widdix:v${VERSION}" widdix/widdix:latest
docker push "widdix/widdix:v${VERSION}"
docker push widdix/widdix:latest