ci: add refactor prerelease workflow - #53
Closed
Hweinstock wants to merge 5 commits into
Closed
Hweinstock wants to merge 5 commits into
Hweinstock wants to merge 5 commits into
Conversation
Hweinstock
commented
Sep 24, 2026
|
|
||
| on: | ||
| push: | ||
| branches: [refactor] |
Owner
Author
There was a problem hiding this comment.
lets have this trigger on main and refactor.
|
|
||
| jobs: | ||
| prerelease: | ||
| if: github.ref == 'refs/heads/refactor' |
Owner
Author
There was a problem hiding this comment.
avoid this gate, its unecessary?
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| env: | ||
| RELEASE_TAG: prerelease-refactor |
Owner
Author
There was a problem hiding this comment.
lets do prerelease if branch is main, if branch is not main then prerelease-{branchName}.
Hweinstock
commented
Sep 24, 2026
| | Windows x64 | [agentcore-windows-x64.exe]($release_url/agentcore-windows-x64.exe) | | ||
| | Windows arm64 | [agentcore-windows-arm64.exe]($release_url/agentcore-windows-arm64.exe) | | ||
|
|
||
| To download an executable from a shell: |
Owner
Author
There was a problem hiding this comment.
lets remove these instructions for the executable, keep it lean.
| @@ -0,0 +1,92 @@ | |||
| name: Prerelease Refactor | |||
Owner
Author
There was a problem hiding this comment.
lets just name it prerelease
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/prerelease.ymlfor themainandrefactorbranches.The workflow:
1.0.0-<last six characters of the commit hash>.prereleaseformainandprerelease-refactorforrefactor.Spec
Implement the missing prerelease mechanism based on the existing main-branch prerelease workflow. The
mainbranch uses theprereleasetag; other branches useprerelease-<branch>, with a tarball and executables for each platform.Verification
Passed locally:
bun install --frozen-lockfilebun run typecheckbunx prettier --check .github/workflows/prerelease.ymlbun run buildbun pm pack --destination /tmp --ignore-scriptsbun run compileThe compile step produced all six expected platform executables.
The custom version was also validated in a tarball and compiled Linux executable.
Reproduction
mainorrefactorbranch.prereleaseorprerelease-refactorrelease.