- Notify translators of the impending release
- Notify TomH
-
If you don't have a
transifex.authfile in the root of your iD checkout, you'll need to create a Transifex account, ask the project's maintainers for admin rights on the iD project, and then create this file with contents like{ "user":"api", "password": "<your-transifex-api-key>" }where you insert your personal transifex api token. This file is not version-controlled and will not be checked in.
git checkout develop
npm clean-install
npm install editor-layer-index
npm run imagery
npm run all
git add . && git commit -m 'npm run imagery'
npm run translations
git add . && git commit -m 'npm run translations'- Check and finalize
CHANGELOG.md
ID_VERSION=A.B.C
npm version --no-git-tag-version $ID_VERSION
git add . && git commit -m "v$ID_VERSION"
git push origin developgit checkout release
git reset --hard develop
npm run all
git add -f dist
git commit -m 'Check in build'
git tag "v$ID_VERSION" -m "v$ID_VERSION" --sign
git push origin -f release "v$ID_VERSION"- Open https://github.com/openstreetmap/iD/tags
- Click
•••–>Create Release, paste version(vA.B.C) toRelease titleand copy/paste the relevantchangelogentries into the description of the release.
npm publishgit checkout developAdd section in CHANGELOG.md for new version number (e.g. # Unreleased (AA.BB.0-dev)).
npm version --no-git-tag-version vAA.BB.0-dev
git add . && git commit -m 'Set development version number'
git push origin develop- Create a PR branch that updates the version number of iD (
@openstreetmap/id) in thepackage.jsonfile of the OpenStreetMap Website repository.
bundle install
bundle exec bin/yarn add "@openstreetmap/id@$ID_VERSION"- If there have been any changes to iD's URL parameters, make sure they're reflected in app/assets/javascripts/edit/id.js.erb.
- Test the new version locally:
bundle exec rails assets:precompile
bundle exec rails server- Open the pull request on github and link to the release on github in the issue text for the changelog.