From 63b70c541663d88e3da2daec5f3b8e9b50d12378 Mon Sep 17 00:00:00 2001 From: acalcutt Date: Sun, 16 Mar 2025 22:04:58 -0400 Subject: [PATCH] put back manual build steps --- PUBLISHING.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/PUBLISHING.md b/PUBLISHING.md index fedaf39..df21ab3 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -1,4 +1,4 @@ -# Publishing new version +# Publishing new version with github workflow 1.) Change the version number in package.json. Run the following command in the package root directory, replacing with one of the semantic versioning release types (prerelease, prepatch, preminor, premajor, patch, minor, major): npm version --preid pre --no-git-tag-version @@ -17,3 +17,17 @@ For regular versions, you can use patch, minor, or major. E.g. npm version major 3.) Commit and push the changes. 4.) Run the 'Build, Test, Release' github workflow. The workflow will create a NPM, Docker, and Github release and Tag. + +# Publishing new version manually + +- 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`