diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..1667e9dc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..fe26beef --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.5.1" +} \ No newline at end of file diff --git a/Sources/_Helpers/Version.swift b/Sources/_Helpers/Version.swift index 33b1e35b..5651c0e5 100644 --- a/Sources/_Helpers/Version.swift +++ b/Sources/_Helpers/Version.swift @@ -1 +1 @@ -package let version = "2.5.1" +package let version = "2.5.1" // {x-release-please-version} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..12d98c3e --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,15 @@ +{ + "packages": { + ".": { + "changelog-path": "CHANGELOG.md", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "extra-files": [ + "Sources/_Helpers/Version.swift" + ] + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} \ No newline at end of file