You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/dev/releasing.md
+40-2Lines changed: 40 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,47 @@
2
2
3
3
The project maintainers are responsible for bumping the version number, regenerating auto-generated documentation, tagging the release, and uploading to rubygems.
4
4
5
-
0. Ensure that all changes have been merged to master.
5
+
## Local testing
6
+
7
+
To test the new version of `octocatalog-diff` in the Puppet repository:
8
+
9
+
0. In the Puppet checkout, start a new branch based off master.
10
+
0. In the `octocatalog-diff` checkout:
11
+
- Ensure that the desired branch is checked out.
12
+
- Choose a unique internal version number which has never been used in CI. A good guideline is that if you're planning to release a version `0.6.0` then for these tests, use `0.6.0a`, `0.6.0b`, ...
13
+
- Build the gem using your internal version number:
0. Back in the Puppet checkout, ensure that the changes are as expected (updates to Gemfile / Gemfile.lock, addition of new gem). Push the change and build appropriate CI job(s) to validate the changes.
25
+
26
+
## Merging
27
+
6
28
0. If necessary, complete a Pull Request to update the [version file](/.version).
29
+
0. If necessary, auto-generate the build documentation.
30
+
31
+
```
32
+
rake doc:build
33
+
```
34
+
35
+
0. Ensure that CI tests are all passing.
36
+
0. Merge and delete the branch.
37
+
38
+
## Releasing
39
+
40
+
Generally, a new release will correspond to a merge to master of one or more Pull Requests.
41
+
42
+
0. Ensure that all changes associated with the release have been merged to master.
43
+
- Merge all Pull Requests associated with release.
44
+
- If necessary, complete a Pull Request to update the [change log](/doc/CHANGELOG.md).
45
+
- If necessary (for significant changes), complete a Pull Request to update the top-level README file.
7
46
0. Ensure the the master branch is checked out on your system.
8
47
0. Run the release procedure:
9
48
@@ -13,7 +52,6 @@ The project maintainers are responsible for bumping the version number, regenera
13
52
14
53
This rake task handles the following:
15
54
16
-
- Auto-generates the [options reference](/doc/optionsref.md) (`rake doc:build`)
17
55
- Build the gem file (`rake gem:build`)
18
56
- Tag the release in the repository (`rake gem:tag`)
19
57
- Upload the gem file to rubygems (`rake gem:push`)
0 commit comments