Skip to content

Commit

Permalink
Merge pull request #151 from AppDevNext/AutomaticGeneratedChangelog
Browse files Browse the repository at this point in the history
Automatic generated changelog
  • Loading branch information
hannesa2 authored Jul 21, 2022
2 parents 061f0d8 + e24b840 commit 0d9c9ec
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
changelog:
exclude:
labels:
- ignore-for-release
authors:
- someuser
categories:
- title: Breaking Changes 🛠
labels:
- breaking-change
- title: Exciting New Features 🎉
labels:
- enhancement
- title: Other Changes
labels:
- "*"
16 changes: 9 additions & 7 deletions .github/workflows/Android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ jobs:
- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.2
- name: Build project
run: ./gradlew clean build
run: ./gradlew assembleRelease
env:
VERSION: ${{ github.ref }}
- run: |
assetsAAR=$(find . -name *release.aar | while read -r asset ; do echo "-a $asset" ; done)
VERSION=$(echo $VERSION | cut -d'/' -f3)
tag_name="${GITHUB_REF##*/}"
hub release create ${assetsAAR} -m "$tag_name" "$tag_name"
- name: Create Release
uses: softprops/[email protected]
with:
tag_name: ${{steps.tagger.outputs.tag}}
generate_release_notes: true
name: ${{steps.tagger.outputs.tag}}
files: |
./moka/build/outputs/aar/moka-release.aar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.ref }}

0 comments on commit 0d9c9ec

Please sign in to comment.