You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 20ea31b
Browse filesBrowse the repository at this point in the historyBrowse files
git tag --annotate "v$RELEASE_VERSION" --message "Release version $RELEASE_VERSION"
49
49
```
50
50
51
-
Review the commit and the tag (`git show "v$RELEASE_VERSION"`), then prepare the next version:
51
+
Review the commit and the tag (`git show "v$RELEASE_VERSION"`), then push it and release the
52
+
version.
53
+
54
+
> ⚠️ Take a good review before pushing!
55
+
56
+
Push:
57
+
58
+
```shell
59
+
git push --tags origin HEAD
60
+
```
61
+
62
+
Then release from the "[Release to Maven Central](https://github.com/modelcontextprotocol/java-sdk/actions/workflows/maven-central-release.yml)" action. Click "Run workflow", choose the newly pushed tag, then "run workflow".
63
+
Wait for the release to be done before updating the "next version". In case anything goes wrong, you
64
+
can "add" to the release and update the tag.
65
+
66
+
Once the release is done, update to the next version, review the commit, and push:
52
67
53
68
```shell
54
69
# Update version in pom
@@ -58,16 +73,10 @@ git add pom.xml "**/pom.xml"
58
73
git commit --signoff --message "Next development version"
59
74
```
60
75
61
-
Review the commit (`git show`).
62
-
63
-
> ⚠️ Take a good review before pushing!
64
-
65
-
Then push it all:
76
+
Review the commit (`git show`). Push:
66
77
67
78
```shell
68
-
git push --tags origin HEAD
79
+
git push origin HEAD
69
80
```
70
81
71
-
Then release from the "[Release to Maven Central](https://github.com/modelcontextprotocol/java-sdk/actions/workflows/maven-central-release.yml)" action. Click "Run workflow", choose the newly pushed tag, then "run workflow".
0 commit comments