Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (24 loc) · 817 Bytes

DEPLOYING.md

File metadata and controls

40 lines (24 loc) · 817 Bytes

Deploying Mapbox.js

You need aws

pip install awscli

Then make the release with make

  • Write a CHANGELOG.md entry that describes your changes and links to issues in question

  • Bump package.json version

rebuild

Mapbox.js uses a version number pulled from package.json, so after updating package.json, rebuild it.

make

git tag & npm package

git tag v1.your.version -s -m "Version v1.your.version, with xxx changes"
git push origin publisher-production --tags
npm publish

deploying to the cdn

./deploy.sh v1.your.version

deploying to the web

$ ./_docs/build.sh v1.your.version

Then git add the new generated files in the docs directory.

Then update the version number in _config.yml and its variants, and then in the relevant server software.