Skip to content

Commit d3883ca

Browse files
committed
🔧 Fix binary verification commands in CI and release configs
- Changed `./chronicle --version` to `./chronicle --help` in `.github/workflows/ci.yml` build verification step - Updated goreleaser homebrew test from `--version` to `--help` in `.goreleaser.yml` This suggests the chronicle binary doesn't support a `--version` flag but does support `--help` for basic functionality testing 🤷‍♂️ Both changes ensure the build verification and package tests actually work instead of failing on unsupported flags! 💪
1 parent 132e29d commit d3883ca

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
run: go build -tags sqlite_fts5 -o chronicle .
9090

9191
- name: Verify binary
92-
run: ./chronicle --version
92+
run: ./chronicle --help
9393

9494
- name: Upload binary artifact
9595
uses: actions/upload-artifact@v4

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ brews:
4646
install: |
4747
bin.install "chronicle"
4848
test: |
49-
system "#{bin}/chronicle", "--version"
49+
system "#{bin}/chronicle", "--help"
5050
5151
changelog:
5252
sort: asc

0 commit comments

Comments
 (0)