RELEASING.md 1.7 KB
Newer Older
John Firebaugh's avatar
John Firebaugh committed
1 2
## Release Checklist

John Firebaugh's avatar
John Firebaugh committed
3 4 5 6 7
### Prerelease (several days prior)
- [ ] Notify translators of impending release
  (https://www.transifex.com/projects/p/id-editor/announcements/)
- [ ] Notify TomH

8 9 10 11 12 13
### 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 @bhousel for admin rights
      on the iD project, and then create this file with contents
      like `{"user": "yourusername", "password": "*******"}`

14
### Update master branch
Bryan Housel's avatar
Bryan Housel committed
15 16 17 18 19 20 21
- [ ] git checkout master
- [ ] make translations
- [ ] git add . && git commit -m 'make translations'
- [ ] make imagery
- [ ] git add . && git commit -m 'make imagery'
- [ ] make suggestions
- [ ] git add . && git commit -m 'make suggestions'
Bryan Housel's avatar
Bryan Housel committed
22 23
- [ ] Update `CHANGELOG.md`
- [ ] Update version number in `id.js`, `package.json`
Bryan Housel's avatar
Bryan Housel committed
24 25
- [ ] git add . && git commit -m 'A.B.C'
- [ ] git push origin master
26 27

### Update and tag release branch
Bryan Housel's avatar
Bryan Housel committed
28 29 30 31 32 33 34
- [ ] git checkout release
- [ ] git reset --hard master
- [ ] make
- [ ] git add -f dist/*.css dist/*.js dist/img/*.svg dist/locales/*.json
- [ ] git commit -m 'Check in build'
- [ ] git tag vA.B.C
- [ ] git push origin -f release vA.B.C
John Firebaugh's avatar
John Firebaugh committed
35 36 37

### Update openstreetmap-website

38 39
#### Setup remotes (one time only)

Bryan Housel's avatar
Bryan Housel committed
40 41
- [ ] git remote add osmlab git@github.com:osmlab/openstreetmap-website.git
- [ ] git remote add upstream git@github.com:openstreetmap/openstreetmap-website.git
42 43 44

#### Sync master and update iD (every time)

Bryan Housel's avatar
Bryan Housel committed
45 46 47 48 49 50 51 52
- [ ] git fetch --all
- [ ] git checkout master
- [ ] git reset --hard upstream/master
- [ ] git checkout -b iD-A.B.C
- [ ] bundle install
- [ ] rm -rf vendor/assets/iD/* && vendorer
- [ ] git add . && git commit -m 'Update to iD vA.B.C'
- [ ] git push osmlab
John Firebaugh's avatar
John Firebaugh committed
53
- [ ] Open pull request