Skip to content

Commit

Permalink
fix release (#1213)
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
  • Loading branch information
zeitlinger authored Nov 25, 2024
1 parent c98423b commit bdfe25c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Create a Release

1. Go to https://github.com/prometheus/client_java/releases
1. Go to https://github.com/prometheus/client_java/releases/new
2. Click on "Choose a tag", enter the tag name (e.g. `v0.1.0`), and click "Create a new tag".
3. Click on "Generate release notes" to auto-generate the release notes based on the commits since the last release.
4. Click on "Publish release".
1 change: 1 addition & 0 deletions scripts/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TAG=$1
VERSION=${TAG#v}

mvn versions:set -DnewVersion=$VERSION
mvn install -DskipTests=true # to find the new version in the next step
cd integration-tests/it-spring-boot-smoke-test
mvn versions:set -DnewVersion=$VERSION
mvn -B package -P release -Dmaven.test.skip=true

0 comments on commit bdfe25c

Please sign in to comment.