Skip to content

Commit

Permalink
v0.1.0 + goreleaser #291
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardottt committed Apr 18, 2024
1 parent d6d6882 commit 432ad0d
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
changelog:
exclude:
authors:
- dependabot
categories:
- title: 🎉 New Features
labels:
- "Type: Enhancement"
- title: 🐞 Bug Fixes
labels:
- "Type: Bug"
- title: 🔨 Maintenance
labels:
- "Type: Maintenance"
- title: Other Changes
labels:
- "*"
31 changes: 31 additions & 0 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 🎉 Release Binary

on:
push:
tags:
- '*'
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: "Check out code"
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: "Set up Go"
uses: actions/setup-go@v4
with:
go-version: 1.21.x

- name: "Create release on GitHub"
timeout-minutes: 10
uses: goreleaser/goreleaser-action@v4
with:
args: "release --clean"
version: latest
workdir: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
28 changes: 28 additions & 0 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 🔨 Release Test

on:
pull_request:
paths:
- '**.go'
- '**.mod'
workflow_dispatch:

jobs:
release-test:
runs-on: ubuntu-latest
steps:
- name: "Check out code"
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x

- name: release test
uses: goreleaser/goreleaser-action@v4
with:
args: "release --clean --snapshot"
version: latest
41 changes: 41 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
release:
header: |
## favirecon {{ .Tag }} 🥳
*Use favicon.ico to improve your target recon phase. Quickly detect technologies, WAF, exposed panels, known services.*
footer: |
If you encounter a problem, just open an [issue](https://github.com/edoardottt/favirecon/issues)
before:
hooks:
- go mod tidy

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- 386
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
- goos: windows
goarch: 'arm'
- goos: windows
goarch: 'arm64'
binary: '{{ .ProjectName }}'
main: ./cmd/favirecon/

archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'

checksum:
algorithm: sha256

2 changes: 1 addition & 1 deletion pkg/output/banner.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "github.com/projectdiscovery/gologger"
var printed = false

const (
Version = "v0.0.7"
Version = "v0.1.0"
banner = ` ____ _
/ __/___ __ __(_)_______ _________ ____
/ /_/ __ ` + `\/ | / / / ___/ _ \/ ___/ __ \/ __ \
Expand Down
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ summary: Use favicon.ico to improve your target recon phase
description: |
Use favicon.ico to improve your target recon phase.
Quickly detect technologies, WAF, exposed panels, known services.
version: 0.0.7
version: 0.1.0
grade: stable
base: core20

Expand Down

0 comments on commit 432ad0d

Please sign in to comment.