Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix - release signing - #467

Merged
cleverchuk merged 1 commit into
mainfrom
cc/NH-135936
Apr 22, 2026
Merged

Fix - release signing#467
cleverchuk merged 1 commit into
mainfrom
cc/NH-135936

Conversation

@cleverchuk

Copy link
Copy Markdown
Contributor

TLDR

Fixes the release signing job so that signed JARs are not overwritten before upload.

Details

The sign_release job had the "Set agent version" step running after the signing step. That version action calls ./gradlew build -x test to extract the version from the built JAR's manifest, which rebuilds the agent and overwrites the signed JARs with unsigned ones. The uploaded artifacts were therefore never actually signed.

The fix removes the redundant standalone build step and moves the version action to run before signing. This ensures the signing step is the last operation to touch the JARs before upload.

Test services data

  1. e-1712644058766987264
  2. e-1712643928659124224
  3. e-1742334541200846848
  4. e-1777406072376840192

Copilot AI review requested due to automatic review settings April 21, 2026 20:14
@cleverchuk
cleverchuk requested review from a team as code owners April 21, 2026 20:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fixes the sign_release GitHub Actions job so that signed JARs are not overwritten by a subsequent rebuild before being uploaded to the GitHub Release.

Changes:

  • Removed the redundant standalone ./gradlew clean build -x test step from sign_release.
  • Moved the ./.github/actions/version step to run before the signing step so signing is the last build-affecting operation.

@jerrytfleung jerrytfleung left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@cleverchuk
cleverchuk merged commit 646f859 into main Apr 22, 2026
20 checks passed
@cleverchuk
cleverchuk deleted the cc/NH-135936 branch April 22, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants