Repository navigation
Releases
v1.1.3
Changes in v1.1.3
Security
- Upgraded transitive dependencies to remediate SECVULN-50203 through SECVULN-50209
(#114):golang.org/x/cryptov0.37.0 -> v0.52.0golang.org/x/netv0.39.0 -> v0.54.0golang.org/x/sysv0.37.0 -> v0.45.0golang.org/x/termv0.36.0 -> v0.43.0
Changed
- The Go toolchain used to compile this action's own CLI moved from 1.24 to 1.25
(go.mod,action.yml,.github/workflows/build.yml).
Migration
No action required. Consumers using @v1 or @v1.1 will automatically receive this update.
The go_version input is unaffected by this release; you still choose the Go version used
to build your own product.
v1.1.2
Changes in v1.1.2
- Updated to Node.js 24 to address GitHub deprecation warnings
- Improved compatibility with latest GitHub Actions runner environment
- No breaking changes for consumers
Migration
No action required. Consumers using @v1 or @v1.1 will automatically receive this update.
Installation
- uses: hashicorp/actions-go-build@v1.1.2
with:
product_name: my-product
go_version: 1.24
os: linux
arch: amd64
instructions: |
go build -o "$BIN_PATH" -trimpath -buildvcs=falsev1.1.1
3cd664e Prepare release v1.1.1
73e1163 Make clean flag optional (#86)
3463cbf Bump golang.org/x/mod from 0.25.0 to 0.26.0 (#85)
2ac062d Bump github.com/sethvargo/go-envconfig from 0.8.2 to 1.3.0 (#83)
659b091 Bump golang.org/x/term from 0.31.0 to 0.32.0 (#81)
95f2d17 Bump github.com/sethvargo/go-githubactions from 0.5.3 to 1.3.1 (#82)
333a759 Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 (#80)
v1.1.0
02dcbac set version 1.1.0 (#78)
7b79e8c SMRE-595: Add zip name output (#77)
e90ad9a Bump composite-action-framework-go to v0.1.0 (#76)
ba707d5 Bump github.com/go-git/go-git/v5 from 5.5.0 to 5.13.0 (#74)
665521b Bump golang.org/x/net from 0.21.0 to 0.38.0 (#73)
e6b15ff Bump github.com/otiai10/copy from 1.7.0 to 1.14.1 (#72)
1d592a2 Bump github.com/google/go-cmp from 0.5.9 to 0.7.0 (#71)
47622ee Bump github.com/cloudflare/circl from 1.3.7 to 1.6.1 (#75)
423a886 Bump github.com/mitchellh/cli from 1.1.4 to 1.1.5 (#70)
c29e6e3 Bump golang.org/x/mod from 0.7.0 to 0.25.0 (#69)
2438501 Bump the github-actions-backward-compatible group with 3 updates (#68)
2da594b Bump golang.org/x/crypto from 0.17.0 to 0.31.0 (#61)
32d7da4 Set valid directory in dependabot.yml (#67)
0f65553 Migrate GitHub Actions updates from TSCCR to Dependabot (#65)
ea83be5 Nuke super-linter (#66)
e953e23 Dependabot and TSCCR disjoint deps management (#56)
95c2ffd [COMPLIANCE] Add Copyright and License Headers (#46)
v0.1.9
v0.1.8
Changed:
-
Dirty builds now fail early when running the action.
In CI, there's no good use-case for dirty builds, however dirty builds still
work locally when running the CLI directly. -
You can now set
TARGET_DIRwhen running thebuildsubcommand of the CLI.
This dictates the the output directory for the binary, as well as where to place
other filed that need to be included in the release zip. -
The
-cleanflag now produces a more useful error message when the worktree is dirty.
It lists the paths which are flagged as dirty, to make it much easier to debug.
Added:
- New inspect flag:
-worktreewhich reports on the dirty/clean status of the worktree. - Development documentation docs/development.md
- Build system:
make build- build dev (maybe dirty) CLI binaries & zips for all supported platforms.make release- build release (clean) CLI binaries & zipe for all supported platforms. Note: If running locally on a mac, you'll need to installenvsubstwithbrew install gettext
Fixed:
- No longer using the deprecated
::set-outputsyntax in the action YAML.
v0.1.7
v0.1.6
Changed:
- Windows executables automatically have a .exe extension.
- Default verification result filenames now end with .verificationresult.json
v0.1.4
Fixed
Added
- New input
product_version_metafor adding a metadata field to the product version. - New input
work_dirfor setting the working directory. - New CLI allows running local build and verification just like in CI.
Changed
- The
product_versioninput is now optional. Instead we should use a VERSION file
in either the repo root, or .release/ or dev/. - The
product_nameinput's default is now the working directory name, unless
the working directory is the repository root, in which case it still defaults
to the repository name.
Internal Changes
- Add
make version/set VERSION=<X.Y.Z>to set the development version. - Changelog generation more robust.
- When pre-push hook fails you now see the output so it's easier to debug.
- Readme tidied up.
- Converted digest inputs to Go.
- Converted build functionality to Go.
- Converted remaining functionality to Go.
v0.1.3
- Adds .exe extension for windows binaries.
- Clearer logging when calculated default values are used.
- Internal:
- Better handling of inputs with default values that also need to be manipulated or validated.
- Better test coverage for input handling.
- 'make changelog/add' reminds about recent commits to help remember what's been done recently, regenerates the main CHANGELOG.md, and commits the result.
- Release workflow to release via GitHub Actions.