Skip to content

Commit 75cfa05

Browse files
committed
chore: Bump Version + Update CHANGELOG
Added release job for github ci
1 parent 473a546 commit 75cfa05

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

Diff for: .github/workflows/release.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Releases
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: macos-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: create changelog
16+
run: |
17+
echo $SOURCE_TAG
18+
changes=$(git log $SOURCE_TAG...HEAD --oneline --no-merges | sed -e 's/^[^ ]* /- /' | sed -e '/chore:/d')
19+
echo "# Changelog\n\n$changes" >release_changelog.md
20+
env:
21+
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
22+
- name: Publish release
23+
id: release
24+
uses: ncipollo/release-action@main
25+
with:
26+
bodyFile: "release_changelog.md"
27+
token: ${{ secrets.YOUR_GITHUB_TOKEN }}
28+
generateReleaseNotes: true
29+
- name: Dump Release Outputs
30+
env:
31+
RELEASE_OUTPUT: ${{ toJson(steps.release.outputs) }}
32+
run: echo "$RELEASE_OUTPUT"

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Changelog
2+
3+
## 1.2.0
4+
5+
* Added a `markerAnnotationWithHue()` and `pinAnnotationWithHue()` method to allow custom marker/pin colors
16
## 1.1.0
27

38
* Added Annotation zIndex

Diff for: pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: apple_maps_flutter
22
description: This plugin uses the Flutter platform view to display an Apple Maps widget.
3-
version: 1.1.0
3+
version: 1.2.0
44
homepage: https://luisthein.de
55
repository: https://github.com/LuisThein/apple_maps_flutter
66
issue_tracker: https://github.com/LuisThein/apple_maps_flutter/issues

0 commit comments

Comments
 (0)