Skip to content

Commit

Permalink
Merge pull request #36 from surface-security/release/version
Browse files Browse the repository at this point in the history
  • Loading branch information
fopina authored Apr 13, 2023
2 parents 7e4569f + 070b1b9 commit 7f6a624
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ cmd/functional-test/httpx_dev
cmd/functional-test/functional-test
cmd/functional-test/httpx
cmd/functional-test/*.cfg
dist/
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ builds:
- darwin
goarch:
- amd64
- 386
- '386'
- arm
- arm64

Expand All @@ -26,6 +26,8 @@ builds:
binary: '{{ .ProjectName }}'
main: cmd/httpx/httpx.go

ldflags: '-s -w -X github.com/projectdiscovery/httpx/runner.version={{.Version}}'

archives:
- format: zip
replacements:
Expand Down
7 changes: 3 additions & 4 deletions runner/banner.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package runner

import (
"github.com/projectdiscovery/gologger"
"github.com/projectdiscovery/gologger"
updateutils "github.com/projectdiscovery/utils/update"
)


const banner = `
__ __ __ _ __
/ /_ / /_/ /_____ | |/ /
Expand All @@ -16,7 +15,7 @@ const banner = `
`

// Version is the current version of httpx
const version = `v1.2.9-ppb`
var version = `v1.2.9`

// showBanner is used to show the banner to the user
func showBanner() {
Expand All @@ -30,4 +29,4 @@ func GetUpdateCallback() func() {
showBanner()
updateutils.GetUpdateToolCallback("httpx", version)()
}
}
}

0 comments on commit 7f6a624

Please sign in to comment.