You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2026/09/03 13:16:10 UTC

(skywalking-ai-sessionizer) branch main updated: Give the GitHub release step its commands

This is an automated email from the ASF dual-hosted git repository.

wu-sheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-ai-sessionizer.git


The following commit(s) were added to refs/heads/main by this push:
     new c1fdeed  Give the GitHub release step its commands
c1fdeed is described below

commit c1fdeede939a2a235cadf7b5f0732a1aa9738fb9
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Sep 3 21:16:03 2026 +0800

    Give the GitHub release step its commands
    
    The guide described creating the release in words. It now shows the
    terminal commands: the release notes into a file, gh release create
    with the tag verified, how to find the run that publishes the image,
    and how to check the image once it is green.
---
 docs/en/guides/how-to-release.md | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/docs/en/guides/how-to-release.md b/docs/en/guides/how-to-release.md
index b35204d..ef9ecdf 100644
--- a/docs/en/guides/how-to-release.md
+++ b/docs/en/guides/how-to-release.md
@@ -149,9 +149,21 @@ Thank you for voting, I will continue the release process.
 
 2. Create the GitHub release for tag `v$VERSION`, named `$VERSION`, with the output of
    `make release-notes VERSION=$VERSION` as its text, and release it: not a draft, not a
-   prerelease. The text is the version's changelog page followed by the download, documentation
-   and image links, so the page never carries a second copy of the changes. Releasing it is what publishes the container image under
-   `$VERSION`, its `major.minor` line, and `latest` when it is the newest release. The release
+   prerelease. From the terminal:
+
+   ```sh
+   make release-notes VERSION=$VERSION > /tmp/release-notes-$VERSION.md
+   gh release create "v$VERSION" --verify-tag --title "$VERSION" \
+     --notes-file /tmp/release-notes-$VERSION.md
+   gh run list --event release --limit 1        # the run that publishes the image
+   ```
+
+   The text is the version's changelog page followed by the download, documentation and image
+   links, so the page never carries a second copy of the changes. `--verify-tag` refuses to
+   create the release unless the tag is already on GitHub. Releasing it is what publishes the
+   container image under `$VERSION`, its `major.minor` line, and `latest` when it is the newest
+   release; once the run is green, check with
+   `docker manifest inspect ghcr.io/apache/skywalking-ai-sessionizer:$VERSION`. The release
    carries no binary assets; the packages are distributed through dist.apache.org and the
    downloads page, like every SkyWalking project. A release that predates this workflow, or a
    publish that failed, is published by running the CI workflow by hand with the tag as its