Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/skywalking-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: apache/skywalking-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release-scripts-clean-tarballs
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 17, 2026

  1. Make release packaging work on macOS and Linux, and harden the releas…

    …e scripts
    
    The 0.15.0 release, packed on macOS, put 543 AppleDouble `._*` files into
    the src tarball and 116 into the bin tarball, plus com.apple.provenance
    xattr headers on every entry. macOS bsdtar archives extended attributes
    by default, and every file in a fresh clone carries com.apple.provenance.
    
    Makefile:
    - Pack with `COPYFILE_DISABLE=1 tar --no-xattrs`, which works with both
      bsdtar and GNU tar, and exclude coverage.txt from the src tarball.
    - Stop ignoring packing errors. The src tarball is packed into a
      temporary directory and moved in, because GNU tar exits 1 ("file
      changed as we read it") when it writes the archive inside the
      directory being packed.
    - New `release-check`: fail if a package is missing, unreadable, or
      contains `._*`, `.DS_Store` or `__MACOSX` entries. On bsdtar it lists
      with `--options !mac-ext`, because plain `tar -t` hides AppleDouble
      entries. `release` runs it before signing, as a recipe step with `-f`,
      so it works with `make -j` and with `make -f` against an older
      checkout.
    - Add the missing `license` target. `verify` depends on it: Linux
      failed with "No rule to make target 'license'", and on macOS the
      LICENSE file satisfied it, so no license check ever ran.
    
    scripts/pre-release.sh:
    - Ask (y/N) before removing an existing ./skywalking-cli or
      ./skywalking, and remove only the paths it listed.
    - Push only the release tag, and only after `make release` succeeds.
    - Put every step that must succeed on its own line, since `set -e` does
      not stop on a failing non-final command of an `&&` chain.
    - Remove the svn working copy after a successful upload.
    - Stop printing each sha512 filename twice in the vote email.
    
    scripts/release.sh: drop a pointless `rm -rf skywalking` and the
    `|| true` that hid a failed `svn mv`, and give `read` a variable so it
    works under dash.
    
    docs/How-to-release.md: document the above, build with the CI Go
    version through GOTOOLCHAIN, fix the tag name and the KEYS link in the
    email templates, and add a vote check for macOS metadata.
    
    Tested on macOS (bsdtar 3.5.3; sh, bash) and Linux (GNU tar 1.35; dash,
    bash).
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01EkgWrRt7QJvPTNx2N5wZr9
    wu-sheng and claude committed Oct 17, 2026
    Configuration menu
    Copy the full SHA
    9c319cd View commit details
    Browse the repository at this point in the history
  2. Run release steps serially, and check packages without a sub-make

    Follow-ups from a second review round:
    
    - `make -j` (or -j in MAKEFLAGS) could run `verify`, `release-src` and
      `release-bin` in parallel. `release-bin` would then copy dist/LICENSE
      while `dependency-license` rewrites it, or `clean` would delete bin/
      while `build` writes it. `.NOTPARALLEL` is now set only when a release
      goal is requested, so CI's `make build -j3` stays parallel. A plain
      `.NOTPARALLEL` would serialize every target on GNU make before 4.4.
    - The package check is now a `define` macro used by both `release-check`
      and `release`, instead of a `$(MAKE) -f $(firstword $(MAKEFILE_LIST))`
      sub-make, which broke when the Makefile path contained spaces.
    - docs: the svn block's `cd ..` assumes you continue from inside
      skywalking-cli, and the text now says so.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01EkgWrRt7QJvPTNx2N5wZr9
    wu-sheng and claude committed Oct 17, 2026
    Configuration menu
    Copy the full SHA
    a5e071b View commit details
    Browse the repository at this point in the history
Loading