mirror of
https://github.com/NiciDieNase/chaosflix
synced 2025-02-16 21:18:23 +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="$(tr '"' "'" <<< $release_notes)"
|
||||||
release_notes=${release_notes::5000}
|
release_notes=${release_notes::5000}
|
||||||
|
|
||||||
|
printf "RELEASE NOTES:\n===\n$release_notes\n===\n"
|
||||||
|
|
||||||
# Step 4: Distribute the uploaded release to a distribution group"
|
# 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}"
|
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}\" }"
|
data="{ \"destination_name\": \"${destination_name}\", \"release_notes\": \"${release_notes}\" }"
|
||||||
|
|
|
@ -234,7 +234,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Appcenter Upload
|
name: Appcenter Upload
|
||||||
command: |
|
command: |
|
||||||
git log --format="%h %s" master..HEAD > $RELEASENOTES_FILE
|
echo "[$CIRCLE_BRANCH]\n" > $RELEASENOTES_FILE \
|
||||||
.circleci/appCenterUpload.sh \
|
.circleci/appCenterUpload.sh \
|
||||||
$APPCENTER_OWNER \
|
$APPCENTER_OWNER \
|
||||||
$APPCENTER_TOKEN \
|
$APPCENTER_TOKEN \
|
||||||
|
|
Loading…
Add table
Reference in a new issue