Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
release: add RELEASE.md with guidelines for new Reps releases
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandescottes committed Feb 10, 2017
1 parent 6b7bf0e commit b58967c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
How to create a new Reps release for mozilla-central.
Before you get started, you will need clones of devtools-reps and mozilla-central, as well as
a Bugzilla account.

1. Go to your clone of devtools-reps
a. create a release branch on github
b. update minor version in package.json, reset build version:
v0.N.X -> v0.N+1.0
c. create a PR on Github for this release
d. run /bin/publish-assets.js to create the bundle

2. Go to your clone of mozilla-central
a. update mozilla-central to the latest
b. copy :
assets/build/reps.js -> devtools/shared/components/reps
assets/build/reps.css -> devtools/shared/components/reps
assets/build/load-reps.js -> devtools/shared/components/reps
assets/build/mochitest/* -> devtools/shared/components/reps/test/mochitest/
c. commit 'Bug XXXXXXX - reps v0.N+1.0: update devtools reps bundle from GitHub;r=reviewer'
d. push to try, test locally, submit for review etc ...
e. while try fails or some problem is detected, go back to devtools-reps, fix the issue,
create a new bundle and go back to 2.a
f. when everything is fine and the patch is r+, land on autoland or inbound
g. merge the PR on github
h. create a tag on github

After that any issue with the bundle should be addressed with a new build version.
Ideally, if the bundle has to be updated in mozilla-central for a bugfix, a corresponding
tag should be created on GitHub.

0 comments on commit b58967c

Please sign in to comment.