@@ -30,17 +30,14 @@ jobs:
3030
3131 - name : Build for all platforms
3232 run : |
33- BUILD_DATE=$(date -u '+%Y-%m-%d %H:%M:%S UTC')
34- GIT_COMMIT=$(git rev-parse --short HEAD)
35-
3633 # Build for Windows
37- GOOS=windows GOARCH=amd64 go build -ldflags "-X github.com/rafabd1/SecretHound/cmd.Version=${{ env.VERSION }} -X 'github.com/rafabd1/SecretHound/cmd.BuildDate=${BUILD_DATE}' -X github.com/rafabd1/SecretHound/cmd.GitCommit=${GIT_COMMIT} " -o secrethound-${{ env.VERSION }}-windows-amd64.exe ./cmd/secrethound/
34+ GOOS=windows GOARCH=amd64 go build -ldflags "-X github.com/rafabd1/SecretHound/cmd.Version=${{ env.VERSION }}" -o secrethound-${{ env.VERSION }}-windows-amd64.exe ./cmd/secrethound/
3835
3936 # Build for Linux
40- GOOS=linux GOARCH=amd64 go build -ldflags "-X github.com/rafabd1/SecretHound/cmd.Version=${{ env.VERSION }} -X 'github.com/rafabd1/SecretHound/cmd.BuildDate=${BUILD_DATE}' -X github.com/rafabd1/SecretHound/cmd.GitCommit=${GIT_COMMIT} " -o secrethound-${{ env.VERSION }}-linux-amd64 ./cmd/secrethound/
37+ GOOS=linux GOARCH=amd64 go build -ldflags "-X github.com/rafabd1/SecretHound/cmd.Version=${{ env.VERSION }}" -o secrethound-${{ env.VERSION }}-linux-amd64 ./cmd/secrethound/
4138
4239 # Build for macOS
43- GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/rafabd1/SecretHound/cmd.Version=${{ env.VERSION }} -X 'github.com/rafabd1/SecretHound/cmd.BuildDate=${BUILD_DATE}' -X github.com/rafabd1/SecretHound/cmd.GitCommit=${GIT_COMMIT} " -o secrethound-${{ env.VERSION }}-darwin-amd64 ./cmd/secrethound/
40+ GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/rafabd1/SecretHound/cmd.Version=${{ env.VERSION }}" -o secrethound-${{ env.VERSION }}-darwin-amd64 ./cmd/secrethound/
4441
4542 - name : Create Release
4643 id : create_release
@@ -56,35 +53,41 @@ jobs:
5653 secrethound-${{ env.VERSION }}-linux-amd64
5754 secrethound-${{ env.VERSION }}-darwin-amd64
5855 body : |
59- # SecretHound v${{ env.VERSION }}
60-
61- ## Improvements
62- - Removed global execution timeout allowing scans to run without time constraints
63- - Enhanced error logging with better visibility for critical errors
64- - Improved log output reducing redundant messages and clarifying statistics
65- - Fixed build information display in version command
66- - Added proper build date and git commit tracking
67- - Optimized progress display with cleaner output
68-
69- ## Bug Fixes
70- - Fixed issue with timeout prematurely ending large scans
71- - Resolved silent errors in verbose mode
72-
73- ## Installation
74-
75- Download the appropriate binary for your platform and make it executable.
76-
77- For Linux/macOS:
78- ```
79- chmod +x secrethound-${{ env.VERSION }}-linux-amd64
80- ./secrethound-${{ env.VERSION }}-linux-amd64
81- ```
82-
83- For Go users:
84- ```
85- go install github.com/rafabd1/SecretHound/cmd/secrethound@latest
86- ```
87-
88- ## Documentation
89-
90- See the [documentation](https://github.com/rafabd1/SecretHound/tree/main/docs) for details on usage.
56+ # SecretHound v${{ env.VERSION }}
57+
58+ ## Improvements
59+
60+ - Added support for ignoring SSL/TLS certificate verification with `--insecure`
61+ - Complete overhaul of the regex pattern system
62+ - Added support for custom HTTP headers with `-H/--header`
63+ - Fixed timeout and concurrency issues
64+ - Fixed `-r/--retries` parameter that wasn't being applied
65+ - Reorganized patterns package for better maintenance
66+ - Redesigned error handling system
67+ - Temporarily disabled `--regex-file` option
68+
69+ ## Bug Fixes
70+
71+ - Fixed issue with URLs having invalid certificates
72+ - Resolved timeout problems in large scans
73+ - Improved synchronization between threads to prevent resource leaks
74+ - Fixed false positive issues in certain regex patterns
75+
76+ ## Installation
77+
78+ Download the appropriate binary for your platform and make it executable.
79+
80+ For Linux/macOS:
81+ ```
82+ chmod +x secrethound-${{ env.VERSION }}-linux-amd64
83+ ./secrethound-${{ env.VERSION }}-linux-amd64
84+ ```
85+
86+ For Go users:
87+ ```
88+ go install github.com/rafabd1/SecretHound/cmd/secrethound@latest
89+ ```
90+
91+ ## Documentation
92+
93+ See the [documentation](https://github.com/rafabd1/SecretHound/tree/main/docs) for usage details.
0 commit comments