From a589c83f145d0b01ec7399a6b00fca5bfa959482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Wed, 2 Oct 2024 08:10:10 +0200 Subject: [PATCH 1/4] docs(readme): fix the import path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c12ec10..18e0174 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Setup ```sh -go get gopkg.in/Scalingo/logrus-rollbar.v1 +go get github.com/Scalingo/logrus-rollbar ``` ## Example @@ -18,7 +18,7 @@ import ( "github.com/sirupsen/logrus" "github.com/stvp/rollbar" - logrusrollbar "gopkg.in/Scalingo/logrus-rollbar.v1" + logrusrollbar "github.com/Scalingo/logrus-rollbar" ) From eb89627b44ddec0243d2dfd6ecee529484a3f613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Wed, 2 Oct 2024 08:10:43 +0200 Subject: [PATCH 2/4] docs(readme): update release instructions to match our current practice --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 18e0174..f4ee10f 100644 --- a/README.md +++ b/README.md @@ -52,10 +52,22 @@ Bump new version number in: Commit, tag and create a new release: ```sh +version="1.4.1" + +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. From 3a76c83107110d66dae683fc74b327b4193492d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Wed, 2 Oct 2024 08:12:12 +0200 Subject: [PATCH 3/4] Bump v1.4.2 --- CHANGELOG.md | 6 ++++-- README.md | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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 f4ee10f..3b8f6b6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 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 @@ -52,7 +52,7 @@ Bump new version number in: Commit, tag and create a new release: ```sh -version="1.4.1" +version="1.4.2" git switch --create release/${version} git add CHANGELOG.md README.md From 8e769a50346de0fa9be53c27f0629426a2c8dcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Wed, 2 Oct 2024 08:12:29 +0200 Subject: [PATCH 4/4] docs(readme): goimports --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3b8f6b6..7f8c9b3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ import ( "github.com/sirupsen/logrus" "github.com/stvp/rollbar" + logrusrollbar "github.com/Scalingo/logrus-rollbar" )