Skip to content

Commit 55db3dd

Browse files
committed
Try and fix create-builds to actually list all commits
1 parent b73ffec commit 55db3dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/create-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272

7373
- name: Generate release notes
7474
run: |
75-
echo "Automated nightly build from commit ${{ steps.get_sha.outputs.short_sha }}." > release_notes.txt
75+
echo "Automated build from commit ${{ steps.get_sha.outputs.short_sha }}." > release_notes.txt
7676
echo "" >> release_notes.txt
7777
echo "Changes since last release:" >> release_notes.txt
7878

79-
LATEST_TAG=$(gh release list --limit 2 --json tagName --jq '.[1].tagName' 2>/dev/null || echo "")
79+
LATEST_TAG=$(gh release list --json tagName --jq '.[1].tagName' 2>/dev/null || echo "")
8080

8181
if git rev-parse "$LATEST_TAG" >/dev/null 2>&1; then
8282
git log "$LATEST_TAG"..HEAD --pretty=format:"- %s" >> release_notes.txt
@@ -94,7 +94,7 @@ jobs:
9494

9595
gh release delete "$TAG_NAME" -y || true
9696
gh release create "$TAG_NAME" "$MUOS_FILE" "$ONION_FILE"\
97-
--title "Nightly Build $TAG_NAME" \
97+
--title "Build $TAG_NAME" \
9898
--notes-file release_notes.txt
9999

100100
- name: Prune old nightly builds (keep latest 10)

0 commit comments

Comments
 (0)