Skip to content

Commit a162075

Browse files
author
Vaughn Dice
authored
Merge pull request #423 from mboersma/changelog-in-tags
docs(releases): paste CHANGELOG into tag annotation
2 parents 8b46ad9 + 272a8af commit a162075

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

src/roadmap/releases.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,21 @@ export NEW_RELEASE=v2.2.1 # changelog agrees it's a patch release
7272

7373
### Step 2: Push the Release Tag
7474

75-
Push the new release tag to the GitHub repository:
75+
Generate the CHANGELOG with the [`deisrel`](https://github.com/deis/deisrel.git) tool and paste
76+
it into an annotation on the new release tag. Edit out any unnecessary blank lines. Then push the
77+
new release tag to the GitHub repository:
7678

7779
```bash
78-
git tag $NEW_RELEASE && git push upstream $NEW_RELEASE
80+
deisrel changelog individual $COMPONENT $OLD_RELEASE $NEW_SHA $NEW_RELEASE | pbcopy
81+
git tag -a $NEW_RELEASE # paste the CHANGELOG into your editor and save
82+
git push upstream $NEW_RELEASE
7983
```
8084

8185
### Step 3: Put CHANGELOG in GitHub Release Notes
8286

83-
Generate the CHANGELOG with the [`deisrel`](https://github.com/deis/deisrel.git) tool and paste
84-
it into the body of release notes for the component in GitHub. In the "Release Title" field, use
85-
the project & component with its release, such as "Deis Controller v2.2.1":
87+
Paste the same CHANGELOG from the previous step into the body of release notes for the component
88+
in GitHub. In the "Release Title" field, use the project & component with its release, such as
89+
"Deis Controller v2.2.1":
8690

8791
```bash
8892
deisrel changelog individual $COMPONENT $OLD_RELEASE $NEW_SHA $NEW_RELEASE | pbcopy
@@ -222,18 +226,20 @@ When showstopper-level bugs are found, the process is as follows:
222226
### Step 6: Merge and Put CHANGELOG in GitHub Release Notes
223227

224228
When testing has completed without uncovering any new showstopper bugs and the charts PR has been
225-
reviewed successfully, merge it to master. Then update your local master branch, tag it with the
226-
release, and push the tag:
229+
reviewed successfully, merge it to master. Then update your local master branch and generate the
230+
CHANGELOG with the [`deisrel`](https://github.com/deis/deisrel.git) tool. Paste that content into
231+
an annotation on the new release tag, then push the tag:
227232

228233
```bash
229234
git checkout master && git fetch --tags upstream master && git merge upstream/master
230-
git tag $WORKFLOW_RELEASE
235+
deisrel changelog individual workflow $WORKFLOW_PREV_RELEASE HEAD $WORKFLOW_RELEASE | pbcopy
236+
git tag -a $WORKFLOW_RELEASE # paste the CHANGELOG into your editor and save
231237
git push upstream $WORKFLOW_RELEASE
232238
```
233239

234-
Generate the CHANGELOG with the [`deisrel`](https://github.com/deis/deisrel.git) tool and paste
235-
it into the body of release notes for [deis/charts][] in GitHub. In the "Release Title" field, use
236-
the project & component with its release, such as "Deis Workflow v2.3.0":
240+
Paste the same CHANGELOG from the previous step into the body of release notes for [deis/charts][]
241+
in GitHub. In the "Release Title" field, use the project & component with its release, such as
242+
"Deis Workflow v2.3.0":
237243

238244
```bash
239245
deisrel changelog individual workflow $WORKFLOW_PREV_RELEASE HEAD $WORKFLOW_RELEASE | pbcopy

0 commit comments

Comments
 (0)