Repository navigation
Releases
Releases · hashicorp/actions-generate-metadata
v1.3.0 - Multi-Product Repository Support
What's Changed
New Features
- Multi-product repository support: Added
releaseSubDirinput to support building multiple products from a single repository (#49)- Auto-derives
security-scan.hclpath fromreleaseSubDir - Auto-derives
release-metadata.hclpath fromreleaseSubDir(#52) - Outputs
release_sub_dirfield in metadata.json (omitted when empty for backward compatibility)
- Auto-derives
Bug Fixes
- Fixed release-metadata.hcl path resolution: Correctly uses
.release/<releaseSubDir>/release-metadata.hclwhenreleaseSubDiris set (#52)- Fixes issue where
releaseMetadatawas empty in multi-product repos - Resolves #51
- Fixes issue where
Improvements
- Added comprehensive test coverage for path derivation logic
- Go module fixes for Docker build compatibility
Usage
Multi-product repositories must use v1.3.0 or later because this version adds the releaseSubDir input required for CRT orchestration.
- uses: hashicorp/actions-generate-metadata@v1.3.0
with:
product: my-product
version: 1.0.0
repository: my-repo
releaseSubDir: my-product # Required for multi-product reposBreaking Changes
None - fully backward compatible with existing single-product workflows.
Full Changelog
v1.1.4
Updated `actions/checkout` from v4 to v6.0.2 in test workflows
- Addresses GitHub's Node.js 20 deprecation warnings
- No functional changes to the action itself
Files Updated
- `.github/workflows/example-action.yml`
- `.github/workflows/test-action.yml`
Migration
No action required. Users referencing `hashicorp/actions-generate-metadata@v1` will automatically receive this update.
v1.1.3
v1.1.2
What's Changed
- [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #18
- add files for heimdall compliance by @modrake in #21
- Correctly detect missing metadata by @cipherboy in #23
- Update CODEOWNERS for SMRE by @shore in #24
- [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #22
- Bump actions/checkout from 3.5.2 to 4.1.7 by @dependabot in #29
- Bump actions/upload-artifact from 3.1.2 to 4.3.3 by @dependabot in #26
- Bump actions/upload-artifact from 4.3.3 to 4.3.4 by @dependabot in #30
New Contributors
- @cipherboy made their first contribution in #23
- @shore made their first contribution in #24
- @dependabot made their first contribution in #29
Full Changelog: v1...v1.1.2
v1.1.1: Remove set-output warnings
Upgrade go-githubactions dependency to v1.1.0 to remove set-output warnings. More context in #17
v1.1.0: Add or update MPL 2.0 license (#16)
Co-authored-by: CalebAlbers <CalebAlbers@users.noreply.github.com>