Skip to content

Commit

Permalink
Merge pull request #116 from AppDevNext/AutomaticGeneratedChangelog
Browse files Browse the repository at this point in the history
Github changelog
  • Loading branch information
hannesa2 authored Jul 21, 2022
2 parents d13833b + a984c3a commit fed49d3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 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:
- "*"
19 changes: 11 additions & 8 deletions .github/workflows/Android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@ jobs:
distribution: 'adopt'
java-version: 11
- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.2
uses: malinskiy/action-android/install-sdk@release/0.1.3
- 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
prerelease: ${{ env.PRE_RELEASE }}
name: ${{steps.tagger.outputs.tag}}
files: |
./ChangeLogLib/build/outputs/aar/ChangeLog-release.aar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.ref }}

0 comments on commit fed49d3

Please sign in to comment.