diff --git a/CHANGELOG.md b/CHANGELOG.md index 21ddac6..095f3bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ ## To be Released -* chore(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 -* chore(deps): bump github.com/rollbar/rollbar-go from 1.4.4 to 1.4.5 +## 1.4.2 + +* chore(deps): bump all dependencies +* chore(go): use go 1.22 ## 1.4.1 diff --git a/README.md b/README.md index c12ec10..7f8c9b3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# Rollbar Hook for [Logrus](https://github.com/sirupsen/logrus) v1.4.1 +# Rollbar Hook for [Logrus](https://github.com/sirupsen/logrus) v1.4.2 ## Setup ```sh -go get gopkg.in/Scalingo/logrus-rollbar.v1 +go get github.com/Scalingo/logrus-rollbar ``` ## Example @@ -18,7 +18,8 @@ import ( "github.com/sirupsen/logrus" "github.com/stvp/rollbar" - logrusrollbar "gopkg.in/Scalingo/logrus-rollbar.v1" + + logrusrollbar "github.com/Scalingo/logrus-rollbar" ) @@ -52,10 +53,22 @@ Bump new version number in: Commit, tag and create a new release: ```sh +version="1.4.2" + +git switch --create release/${version} git add CHANGELOG.md README.md -git commit -m "Bump v1.4.1" -git tag v1.4.1 -git push origin master -git push --tags -hub release create v1.4.1 +git commit --message="Bump v${version}" +git push --set-upstream origin release/${version} +gh pr create --reviewer=EtienneM --title "$(git log -1 --pretty=%B)" ``` + +Once the pull request merged, you can tag the new release. + +```sh +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.