Skip to content

Releases

v1.3.0 - Multi-Product Repository Support

Choose a tag to compare

@baby-developer99 baby-developer99 released this 25 Sep 06:28

What's Changed

New Features

  • Multi-product repository support: Added releaseSubDir input to support building multiple products from a single repository (#49)
    • Auto-derives security-scan.hcl path from releaseSubDir
    • Auto-derives release-metadata.hcl path from releaseSubDir (#52)
    • Outputs release_sub_dir field in metadata.json (omitted when empty for backward compatibility)

Bug Fixes

  • Fixed release-metadata.hcl path resolution: Correctly uses .release/<releaseSubDir>/release-metadata.hcl when releaseSubDir is set (#52)
    • Fixes issue where releaseMetadata was empty in multi-product repos
    • Resolves #51

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 repos

Breaking Changes

None - fully backward compatible with existing single-product workflows.

Full Changelog

v1.1.4...v1.3.0

v1.1.4

Choose a tag to compare

@rajeshsc1 rajeshsc1 released this 07 May 04:22
a43468d

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

Choose a tag to compare

@ethel-hashicorp ethel-hashicorp released this 16 Jul 00:07
f1d8525

Dependabot version updates

v1.1.2

Choose a tag to compare

@shore shore released this 02 Jul 22:20
f6f1ca9

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

Full Changelog: v1...v1.1.2

v1.1.1: Remove set-output warnings

Choose a tag to compare

@mdeggies mdeggies released this 23 Nov 22:43
fdbc880

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)

Choose a tag to compare

@modrake modrake released this 07 Nov 18:43
a8bff2f
Co-authored-by: CalebAlbers <CalebAlbers@users.noreply.github.com>

v1.0.1

Choose a tag to compare

@sarahethompson sarahethompson released this 28 Apr 17:01
90c5019

Add optional sha paramater.