Skip to content

Commit 3b7386d

Browse files
committed
maybe this time?
1 parent 65a9605 commit 3b7386d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
# in .goreleaser.yml requires GoReleaser v2.0.0 or newer.
3737
version: '~> v2'
3838
# The '--clean' flag removes the 'dist' directory before building.
39-
# We pass the release notes file via CLI flag, as the config file option is a pro feature.
40-
args: release --clean --release-notes-file release-notes.md
39+
args: release --clean
40+
# Pass the release notes file directly to the action.
41+
release_notes: release-notes.md
4142
env:
4243
# This token is provided by GitHub automatically and is required
4344
# to create a release and upload assets.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- **Import Command:** The `import` command now provides more detailed feedback, reporting errors for invalid key lines instead of skipping them silently.
1313

1414
### Fixed
15+
- **GoReleaser Workflow:** Corrected the method for passing release notes to the `goreleaser-action` by using the dedicated `release_notes` input, resolving the "unknown flag" error.
1516
- **GoReleaser Workflow:** The release workflow now passes release notes via a CLI flag (`--release-notes-file`) to avoid using a GoReleaser Pro feature, fixing release failures.
1617
- **Configuration Discovery:** Keymaster now prints a message when it automatically creates a default `.keymaster.yaml` file, improving user feedback on first run.
1718
- **CLI Parsing:** Improved argument parsing in the `trust-host` command for consistency and robustness.

0 commit comments

Comments
 (0)