Skip to content

Commit

Permalink
Update commit-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mueller-ma authored Dec 28, 2020
1 parent a8fa256 commit 143ea9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/commit-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ jobs:
- name: Download release notes
run: |
retryCount=0
gradle_file="mobile/build.gradle"
currentVersionCode=$(grep 'versionCode' $gradle_file | sed -r 's/(.*) (.*)$/\2/')
echo "Get release notes for version code $currentVersionCode"
retryCount=0
until curl https://api.github.com/repos/openhab/openhab-android/releases | jq -r '.[0].body' > fastlane/metadata/android/en-US/changelogs/${currentVersionCode}.txt
do
let retryCount++
Expand All @@ -64,7 +66,7 @@ jobs:
echo "========================"
- name: Commit changes
uses: EndBug/add-and-commit@v6 # You can change this to use a specific version
uses: EndBug/add-and-commit@v6
with:
add: '.'
author_name: openhab-bot
Expand Down

0 comments on commit 143ea9b

Please sign in to comment.