diff --git a/.github/release-please-config.json b/.github/release-please-config.json new file mode 100644 index 0000000..c8de158 --- /dev/null +++ b/.github/release-please-config.json @@ -0,0 +1,10 @@ +{ + "packages": { + ".": { + "package-name": "hashpipe", + "release-type": "python", + "include-component-in-tag": false + } + }, + "pull-request-title-pattern": "chore: release${component} ${version}" +} diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json new file mode 100644 index 0000000..dde7cab --- /dev/null +++ b/.github/release-please-manifest.json @@ -0,0 +1 @@ +{".":"0.9.2"} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b547f0..f3f933e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,11 @@ jobs: release_please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v3 + - uses: google-github-actions/release-please-action@v4 id: release_please with: - release-type: python - package-name: hashpipe - pull-request-title-pattern: "chore: release${component} ${version}" + config-file: .github/release-please-config.json + manifest-file: .github/release-please-manifest.json outputs: release_created: ${{ steps.release_please.outputs.release_created }} sha: ${{ steps.release_please.outputs.sha }}