Skip to content

fix: correct SHA256 typo, update machine images, scope build workflows to master/tags#122

Open
circleci-app[bot] wants to merge 1 commit into
masterfrom
chunk/fix-pipeline-sha-image-filters
Open

fix: correct SHA256 typo, update machine images, scope build workflows to master/tags#122
circleci-app[bot] wants to merge 1 commit into
masterfrom
chunk/fix-pipeline-sha-image-filters

Conversation

@circleci-app

@circleci-app circleci-app Bot commented May 29, 2026

Copy link
Copy Markdown

Summary

  • Fix critical CIRCLE_SHA2256 typo in build-linux-amd64 "Build with build.spec" step — an extra 2 in the variable name caused an empty short SHA, producing malformed artifact filenames. The same class of bug was addressed in Correct CIRCLE_SHORT_SHA1 to CIRCLE_SHORT_SHA256 #120 and Update build file name to use CIRCLE_SHA256 #121 but this instance was missed.
  • Upgrade machine image from ubuntu-2004:202201-02ubuntu-2204:current for both build-linux-amd64 and build-linux-arm64 jobs.
  • Add workflow filters to build_linux, build_windows, and build_macos so they only trigger on the master branch or v* tags — previously every push to every branch kicked off expensive build jobs unnecessarily.

Test plan

  • Verify all_test workflow still triggers on feature branches (no filters applied there)
  • Push to master (or create a v* tag) and confirm all four build workflows trigger
  • Confirm artifact filenames include the correct 7-character SHA256 prefix on the next Linux amd64 build

https://app.circleci.com/agents/gh/Rose2161/chat/a10a2625-1eae-4b07-9620-87af25dd5e2d

- Fix CIRCLE_SHA2256 typo (extra '2') in build-linux-amd64 Build step;
  same class of bug fixed in #120/#121 but this instance was missed
- Upgrade ubuntu-2004:202201-02 → ubuntu-2204:current for both Linux
  machine executor jobs (amd64 and arm64)
- Add branch/tag filters to build_linux, build_windows, build_macos
  workflows so they only run on master or v* tags instead of every branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants