Skip to content

Commit

Permalink
release workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsandeep committed Jan 15, 2023
1 parent 4ae0e29 commit f7e2b51
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@

# Dependency directories (remove the comment below to include it)
# vendor/
cmd/tlsx/tlsx
cmd/tlsx/tlsx
dist/*
8 changes: 7 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ builds:
binary: '{{ .ProjectName }}'
main: cmd/tlsx/main.go

# release options (https://goreleaser.com/customization/release/)

release:
draft: true
prerelease: auto

archives:
- format: zip
replacements:
Expand All @@ -39,7 +45,7 @@ announce:
enabled: true
channel: '#release'
username: GoReleaser
message_template: '**New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'
message_template: 'New Release: {{ .ProjectName }} {{.Tag}} is published! Check it out at {{ .ReleaseURL }}'

discord:
enabled: true
Expand Down
5 changes: 1 addition & 4 deletions internal/runner/banner.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var banner = fmt.Sprintf(`
|_| |____|___/_/\_\ %s
`, version)

var version = "v1.0.3"
var version = "v1.0.4"

// validateOptions validates the provided options for crawler
func (r *Runner) validateOptions() error {
Expand Down Expand Up @@ -60,7 +60,4 @@ func (r *Runner) validateOptions() error {
func showBanner() {
gologger.Print().Msgf("%s\n", banner)
gologger.Print().Msgf("\t\tprojectdiscovery.io\n\n")

gologger.Print().Label("WRN").Msgf("Use with caution. You are responsible for your actions.\n")
gologger.Print().Label("WRN").Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n")
}

0 comments on commit f7e2b51

Please sign in to comment.