diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..8a6a4fc --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + id: release + with: + config-file: ci/release-please-config.json + manifest-file: ci/.release-please-manifest.json diff --git a/ci/.release-please-manifest.json b/ci/.release-please-manifest.json new file mode 100644 index 0000000..83f9eb8 --- /dev/null +++ b/ci/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "4.3.0" +} diff --git a/ci/release-please-config.json b/ci/release-please-config.json new file mode 100644 index 0000000..2470361 --- /dev/null +++ b/ci/release-please-config.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "packages": { + ".": { + "package-name": "sbb_data_scanner", + "release-type": "dart", + "component": "root" + } + }, + "include-v-in-tag": false, + "include-component-in-tag": false, + "pull-request-title-pattern": "Release ${version}" +} diff --git a/pubspec.yaml b/pubspec.yaml index 924dfee..29891d2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ repository: https://github.com/SchweizerischeBundesbahnen/data-scanner-flutter issue_tracker: https://github.com/SchweizerischeBundesbahnen/data-scanner-flutter/issues topics: [scanner] -version: 4.4.0 +version: 4.3.0 environment: sdk: ">=3.3.0 <4.0.0"