Skip to content

build: optimize the release flow#42

Merged
wu-sheng merged 3 commits intoapache:mainfrom
Fine0830:build/release
Apr 2, 2026
Merged

build: optimize the release flow#42
wu-sheng merged 3 commits intoapache:mainfrom
Fine0830:build/release

Conversation

@Fine0830
Copy link
Copy Markdown
Member

@Fine0830 Fine0830 commented Apr 1, 2026

This PR tightens the release flow by reducing the source package to release relevant files only and narrowing the SVN upload working copy to the mcp directory.

Signed-off-by: Qiuxia Fan qiuxiafan@apache.org

@Fine0830 Fine0830 requested a review from Copilot April 1, 2026 13:54
@Fine0830 Fine0830 added the bug Something isn't working label Apr 1, 2026
@Fine0830 Fine0830 added this to the 0.2.0 milestone Apr 1, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes the release workflow by producing a source tarball from Git-tracked files only and reducing the SVN working copy scope to the mcp subtree for candidate uploads.

Changes:

  • Build binaries with explicit VERSION and GIT_COMMIT passed through the release script.
  • Generate the source tarball via git archive into a staging dir, adding a .env with RELEASE_VERSION.
  • Narrow SVN checkout/upload path to https://dist.apache.org/repos/dist/dev/skywalking/mcp/ and update release docs accordingly.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
scripts/release.sh Passes release metadata into the build and switches source packaging to git archive + staged .env.
scripts/push-release.sh Checks out only the mcp SVN subtree and adjusts copy/commit paths.
RELEASE.md Updates the documented SVN checkout URL and destination paths.
Makefile Loads .env and makes VERSION/GIT_COMMIT resolution more robust when Git metadata is unavailable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wu-sheng wu-sheng merged commit 06e2b64 into apache:main Apr 2, 2026
3 checks passed
@Fine0830 Fine0830 deleted the build/release branch April 2, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants