tileserver-gl/PUBLISHING.md
Andrew Calcutt 7f6d6bc994
Update publishing (#616)
* Update publish syntax
* Update publishing instructions
* version bump
2022-09-28 16:39:26 -04:00

14 lines
586 B
Markdown

# Publishing new version
- Update version in `package.json`
- `git tag vx.x.x`
- `git push --tags`
- `docker buildx build --platform linux/amd64 -t maptiler/tileserver-gl:latest -t maptiler/tileserver-gl:[version] .`
- `docker push maptiler/tileserver-gl --all-tags`
- `npm publish --access public` or `node publish.js`
- `node publish.js --no-publish`
- `cd light`
- `docker buildx build --platform linux/amd64 -t maptiler/tileserver-gl-light:latest -t maptiler/tileserver-gl-light:[version] .`
- `docker push maptiler/tileserver-gl-light --all-tags`
- `npm publish --access public`