diff --git a/.github/release.yml b/.github/release.yml index 01b4c9d33..1073bdc8a 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -3,10 +3,10 @@ changelog: authors: - dependabot categories: - - title: 🎉 Features + - title: 🎉 New Features labels: - "Type: Enhancement" - - title: 🐞 Bugs + - title: 🐞 Bug Fixes labels: - "Type: Bug" - title: 🔨 Maintenance diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml new file mode 100644 index 000000000..26917f0ef --- /dev/null +++ b/.github/workflows/release-test.yml @@ -0,0 +1,29 @@ +name: 🔨 Release Test + +on: + pull_request: + paths: + - '**.go' + - '**.mod' + workflow_dispatch: + +jobs: + release-test: + runs-on: ubuntu-latest-16-cores + 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.20.x + + - name: release test + uses: goreleaser/goreleaser-action@v4 + with: + args: "release --clean --snapshot" + version: latest + workdir: v2/ \ No newline at end of file diff --git a/v2/pkg/catalog/config/constants.go b/v2/pkg/catalog/config/constants.go index 48553045e..edddd8d8f 100644 --- a/v2/pkg/catalog/config/constants.go +++ b/v2/pkg/catalog/config/constants.go @@ -17,7 +17,7 @@ const ( CLIConfigFileName = "config.yaml" ReportingConfigFilename = "reporting-config.yaml" // Version is the current version of nuclei - Version = `v2.9.10` + Version = `v2.9.11` // Directory Names of custom templates CustomS3TemplatesDirName = "s3" CustomGitHubTemplatesDirName = "github"