diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..fe1351d --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,31 @@ +name-template: 'v$RESOLVED_VERSION 🌈' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '🚀 Features' + labels: + - 'feature' + - 'enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '🧰 Maintenance' + label: 'chore' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +template: | + ## Changes + + $CHANGES \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..c25f000 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,22 @@ +name: Release Drafter + +on: + push: + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-24.04 + steps: + - uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 6445d8c..3058379 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ The test reults within the report is viewed in a table that supports column orde ## Installation -Using the Go CLI tool with version minimum `1.21` run the following command: +Using the Go CLI tool with version minimum `1.24.5` run the following command: ```sh -go install github.com/andreaswachs/repgen@v0.5.0 +go install github.com/andreaswachs/repgen@v0.5.1 ``` ## Usage diff --git a/go.mod b/go.mod index f865019..d8f9d7c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/andreaswachs/repgen -go 1.21.0 +go 1.24.5 require ( github.com/spf13/cobra v1.7.0