Skip to content

Latest commit

 

History

History
90 lines (70 loc) · 2.84 KB

File metadata and controls

90 lines (70 loc) · 2.84 KB

Release Checklist

Prerelease (several days prior)

Prep

  • If you don't have a transifex.auth file 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.

Update iD

Update develop branch

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 develop

Update and tag release branch

git 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"

Push release to npm

npm publish

Prepare develop branch for further development

git checkout develop

Add 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

Update openstreetmap-website

  • Create a PR branch that updates the version number of iD (@openstreetmap/id) in the package.json file of the OpenStreetMap Website repository.
bundle install
bundle exec bin/yarn add "@openstreetmap/id@$ID_VERSION"
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.