mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-26 06:00:25 +00:00
fix releasenotes for Appcenter
add current branch at the beginning fix command to get the short logs for the last five commits
This commit is contained in:
parent
7efc839710
commit
706aaa236e
2 changed files with 3 additions and 1 deletions
|
@ -51,6 +51,8 @@ done < "${release_notes_file}"
|
|||
release_notes="$(tr '"' "'" <<< $release_notes)"
|
||||
release_notes=${release_notes::5000}
|
||||
|
||||
printf "RELEASE NOTES:\n===\n$release_notes\n===\n"
|
||||
|
||||
# Step 4: Distribute the uploaded release to a distribution group"
|
||||
release_url="https://api.appcenter.ms/v0.1/apps/${owner_name}/${app_name}/releases/${release_id}"
|
||||
data="{ \"destination_name\": \"${destination_name}\", \"release_notes\": \"${release_notes}\" }"
|
||||
|
|
|
@ -234,7 +234,7 @@ jobs:
|
|||
- run:
|
||||
name: Appcenter Upload
|
||||
command: |
|
||||
git log --format="%h %s" master..HEAD > $RELEASENOTES_FILE
|
||||
echo "[$CIRCLE_BRANCH]\n" > $RELEASENOTES_FILE \
|
||||
.circleci/appCenterUpload.sh \
|
||||
$APPCENTER_OWNER \
|
||||
$APPCENTER_TOKEN \
|
||||
|
|
Loading…
Reference in a new issue