Skip to content

Commit

Permalink
Bump v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ipfaze committed Dec 17, 2024
1 parent 91b9166 commit 0f8e17e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.1.1 - 17 Dec 2024

* Fix Redacted credentials when printing services and hosts

## v1.1.0 - 24 Aug 2023

* Setup Dependabot
Expand Down
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,30 @@ registration = EtcdDiscovery.register service, host
registration.user # The current user (it can change at any time)
registration.password # The current password (it can change at any time)
```

### Release a New Version
Bump new version number in:
- `CHANGELOG.md`
- `README.md`
- `etcd-discovery.gemspec`
Commit, tag and create a new release:

```bash
version="1.1.1"

git switch --create release/${version}
git add CHANGELOG.md README.md etcd-discovery.gemspec
git commit -m "Bump v${version}"
git push --set-upstream origin release/${version}
gh pr create --reviewer=leo-scalingo --title "$(git log -1 --pretty=%B)"
```

Once the pull request merged, you can tag the new release.

```bash
git tag v${version}
git push origin master v${version}
gh release create v${version}
```

The title of the release should be the version number and the text of the release is the same as the changelog.
2 changes: 1 addition & 1 deletion etcd-discovery.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "etcd-discovery"
s.version = "1.1.0"
s.version = "1.1.1"
s.summary = "Service discovery based on etcd"
s.description = "Ruby implementation of a service discovery tool based on etcd"
s.authors = ["Léo Unbekandt"]
Expand Down

0 comments on commit 0f8e17e

Please sign in to comment.