Skip to content

Commit

Permalink
chore: add release please (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
smallTrogdor authored Nov 4, 2024
1 parent 120d485 commit 7e97fa1
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:
channel: stable
cache: true

- uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
cache: "gradle"

- run: flutter doctor -v
- run: flutter pub get
- run: dart run build_runner build --delete-conflicting-outputs
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -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: googleapis/release-please-action@v4
12 changes: 12 additions & 0 deletions .release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"packages": {
".": {
"package-name": "sbb_maps_flutter",
"release-type": "dart"
},
"example": {
"package-name": "sbb_maps_flutter_example",
"release-type": "dart"
}
}
}
4 changes: 4 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sbb_maps_flutter": "2.3.0",
"sbb_maps_flutter_example": "2.3.0"
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:

maplibre_gl: ^0.20.0

geolocator: ">=12.0.0 <=14.0.0"
geolocator: ">=12.0.0 <14.0.0"
logger: ^2.0.2+1
collection: ^1.17.1

Expand Down

0 comments on commit 7e97fa1

Please sign in to comment.