Skip to content

Commit 2b03df7

Browse files
Merge pull request #42 from CodeForPhilly/ts/update-docs
Update docs with release process
2 parents 07cd8a4 + ee599a3 commit 2b03df7

3 files changed

Lines changed: 74 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,55 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to release number versioning.
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

1010
### Added
1111

12-
- Set up React and Django boilerplate [#1](https://github.com/CodeForPhilly/third-places/pull/1)
13-
- Added Docker containers with docker-compose [#10](https://github.com/CodeForPhilly/third-places/pull/10)
14-
- Set up Leaflet React component and boiletplate homepage[#7](https://github.com/CodeForPhilly/third-places/issues/7)
15-
- Added initial Django models & migration [#21](https://github.com/CodeForPhilly/third-places/pull/21)
1612
- Added initial REST endpoints for Users [#23](https://github.com/CodeForPhilly/third-places/pull/23)
1713
- Added buttons at bottom of Map [#40](https://github.com/CodeForPhilly/third-places/pull/40)
1814

1915
### Changed
20-
- Made Leaflet map element fullscreen and rmeoved title[#27](https://github.com/CodeForPhilly/third-places/issues/27)
16+
17+
- Update docs with release process [#40](https://github.com/CodeForPhilly/third-places/pull/40)
18+
2119
### Deprecated
2220

2321
### Removed
2422

2523
### Fixed
26-
- Issue template [#9](https://github.com/CodeForPhilly/third-places/pull/9)
2724

25+
## [0.1.2]
26+
27+
### Fixed
28+
29+
- Remove nonexistent target [#37](https://github.com/CodeForPhilly/third-places/pull/37)
30+
31+
## [0.1.1]
32+
33+
### Added
34+
35+
- Build and publish Docker container images [#36](https://github.com/CodeForPhilly/third-places/pull/36)
36+
37+
## [0.1.0]
38+
39+
### Added
40+
41+
- Set up React and Django boilerplate [#1](https://github.com/CodeForPhilly/third-places/pull/1)
42+
- Added Docker containers with docker-compose [#10](https://github.com/CodeForPhilly/third-places/pull/10)
43+
- Set up Leaflet React component and boiletplate homepage[#16](https://github.com/CodeForPhilly/third-places/issues/16)
44+
- Added initial Django models & migration [#21](https://github.com/CodeForPhilly/third-places/pull/21)
45+
- Add automated release workflow [#35](https://github.com/CodeForPhilly/third-places/pull/35)
46+
47+
### Changed
48+
49+
- Made Leaflet map element fullscreen and rmeoved title[#27](https://github.com/CodeForPhilly/third-places/issues/27)
50+
51+
### Fixed
52+
53+
- Issue template [#9](https://github.com/CodeForPhilly/third-places/pull/9)
2854

29-
[Unreleased]:
55+
[0.1.3]: https://github.com/CodeForPhilly/third-places/compare/v0.1.1...v0.1.2
56+
[0.1.1]: https://github.com/CodeForPhilly/third-places/compare/v0.1.0...v0.1.1
57+
[0.1.0]: https://github.com/CodeForPhilly/third-places/releases/tag/v0.1.0

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,7 @@ git pull
160160
# Delete the branch from your local machine
161161
git branch -d <new-branch-name>
162162
```
163+
164+
## Creating a release
165+
166+
See the [RELEASES.md](https://github.com/CodeForPhilly/third-places/blob/develop/RELEASES.md) for an explanation of this process

RELEASES.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Releases
2+
3+
## Overview
4+
5+
Releases on this project are triggered through GitHub Actions listening for differences between our `main` and `develop` branches. A pull request for the next release is created by a github-actions bot and merging this pull request automatically delivers the changes up to production.
6+
7+
## Creating a release
8+
9+
A release pull request (PR) is created anytime something new is merged to `develop` that has not yet been merged to `main`. To execute a release and kickoff the CI process:
10+
- Find the automated PR that was created by github-actions.
11+
- It will always have a "Release: v#.#.#" title.
12+
- Copy the list from the "changelog" comment
13+
- Edit the description of the release PR
14+
- Paste in the list of changes and distribute each item accordingly to the Improvements and Technical sections
15+
- Update `CHANGELOG.md` as part of the release PR:
16+
- Copy the whole "Unreleased" section and paste above it
17+
- Replace the lower "Unreleased" title with the version in the release PR
18+
- In the top unreleased section remove all references from each of the five lists (reset it to be blank)
19+
- In the section covering this release's changes, remove any of the sections that have no PRs referenced (e.g. if "Removed" has no PRs in it, you can remove that section title)
20+
- At the very bottom there is a list of the versions.
21+
- Copy the top version list line and paste it at the top of the same list
22+
- Change the numbers to now reflect this change
23+
- Merge the PR to main
24+
- This will kick off a continuous
25+
26+
### Note
27+
28+
Once more PRs are merged to `develop` a new Release PR will be created automatically. We will never have to write a release PR from scratch.
29+
30+
## Updating the CHANGELOG.md
31+
32+
Besides the [version changelog](https://github.com/CodeForPhilly/third-places/releases) that is automatically created as releases are executed, we also keep a [CHANGELOG.md](https://github.com/CodeForPhilly/third-places/blob/develop/CHANGELOG.md) that is updated with each pull request that is merged to develop to help keep track of what changes are made.
33+
34+
The changelog itself links to [documentation](https://keepachangelog.com/en/1.0.0/) describing the format. The essential form is a list of PR titles and links to those PRs organized by what release they go with and what category of change they are making.

0 commit comments

Comments
 (0)