diff --git a/.github/workflows/release-server.yml b/.github/workflows/release-server.yml index 3d8fb26..f247d3d 100644 --- a/.github/workflows/release-server.yml +++ b/.github/workflows/release-server.yml @@ -16,7 +16,8 @@ jobs: id: release with: token: ${{ secrets.GITHUB_TOKEN }} - release-type: go + config-file: release-please-config.json + manifest-file: .release-please-manifest.json - name: Checkout if: ${{ steps.release.outputs.release_created }} uses: actions/checkout@v4 diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..54e21e5 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.7.4" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..d176a2b --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "go", + "include-component-in-tag": false, + "packages": { + ".": { + "extra-files": [ + "version/version.go" + ] + } + } +} diff --git a/version/version.go b/version/version.go index 2bddd16..f1f8f98 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,6 @@ package version -const Version = "1.7.5" +// x-release-please-start-version +const Version = "1.7.4" + +// x-release-please-end