Skip to content

Commit

Permalink
Merge pull request #97 from velrest/release
Browse files Browse the repository at this point in the history
chore(release): bump to v0.5.2=>v0.6.0
  • Loading branch information
velrest authored Sep 2, 2022
2 parents edcf1e8 + 6384375 commit 8504daa
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## v0.6.0 (2022-09-02)

### Feature
* **hous_stat_creds:** Creds are identified by user and x-camac-group ([`7894081`](https://github.com/adfinis-sygroup/ebau-gwr/commit/789408155bcf92450efac7bf90a42dfe4bf070f2))

### Fix
* **docker:** Run server with poetry so deps are found ([`cbbbd71`](https://github.com/adfinis-sygroup/ebau-gwr/commit/cbbbd717f670ee9b2ee6ec3af86704bc340ad670))

## v0.5.2 (2022-06-20)

### Fix
Expand Down
43 changes: 43 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,46 @@ pip install pre-commit
pip install -r requiements-dev.txt -U
pre-commit install
```

## Release
1. Pull the up to date `main` branch locally

1. Update the remote

```bash
git fetch [insert your upstream/origin name]
```

1. Get the new version

```bash
semantic-release version --noop -D version_source=tag
```

1. Update the line `version = "x.x.x"` with your new version in `pyproject.toml`

1. Now generate the change-log

```bash
semantic-release changelog --noop --unreleased -D version_source=tag
```

1. Append the generated change log with your version at the top of `CHANGELOG.md`

1. Create a pull request with these changes

1. Once merged in main, pull the upstream/origin main again

1. Create a git tag with the following format: `vx.x.x` where `x.x.x` is the previously generated version number

```bash
git tag -a vx.x.x
```

10. The previous command will open a text editor to annotate the tag. Insert the previously generated change-log and save

11. Push the tag to upstream

```bash
git push [origin/upstream] vx.x.x
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ebau-gwr"
version = "0.5.2"
version = "0.6.0"
description = "GWR synchronisation for ebau projects"
homepage = "https://github.com/adfinis-sygroup/ebau-gwr"
repository = "https://github.com/adfinis-sygroup/ebau-gwr"
Expand Down

0 comments on commit 8504daa

Please sign in to comment.