@@ -59,19 +59,11 @@ jobs:
5959 RELEASE_TARGET : ${{ inputs.target }}
6060 run : |
6161 set -euo pipefail
62- mapfile -t assets < <(find workflows -maxdepth 1 -type f \( -name '*.md' -o -name '*.lock.yml' \) | sort)
63-
64- if [ "${#assets[@]}" -eq 0 ]; then
65- echo "No workflow assets found in workflows/" >&2
66- exit 1
67- fi
68-
6962 gh release create "$RELEASE_TAG" \
7063 --target "$RELEASE_TARGET" \
7164 --title "$RELEASE_TAG" \
7265 --generate-notes \
73- --latest \
74- "${assets[@]}"
66+ --latest
7567
7668 RELEASE_ID=$(gh release view "$RELEASE_TAG" --json databaseId --jq '.databaseId')
7769 echo "release_id=$RELEASE_ID" >> "$GITHUB_OUTPUT"
9688 /tmp/gh-aw/release-data/releases.json \
9789 > /tmp/gh-aw/release-data/previous_release.json
9890
99- find workflows -maxdepth 1 -type f \( -name '*.md' -o -name '*.lock.yml' \) | sort \
100- > /tmp/gh-aw/release-data/workflow_assets.txt
101-
10291 find workflows -maxdepth 1 -type f -name '*.md' | sort \
10392 > /tmp/gh-aw/release-data/workflow_sources.txt
10493
@@ -112,19 +101,18 @@ Generate concise release highlights for `${RELEASE_TAG}` in `${GITHUB_REPOSITORY
112101
113102- ` /tmp/gh-aw/release-data/current_release.json ` - the release that was just created
114103- ` /tmp/gh-aw/release-data/previous_release.json ` - the previous release, or ` null ` if this is the first one
115- - ` /tmp/gh-aw/release-data/workflow_assets.txt ` - all files attached to this release
116- - ` /tmp/gh-aw/release-data/workflow_sources.txt ` - the source workflow files included in the release
104+ - ` /tmp/gh-aw/release-data/workflow_sources.txt ` - the source workflow files covered by this release
117105
118106## What to Write
119107
120108Create a short ` ## 🌟 Release Highlights ` section that:
121109
122- - says this release publishes the latest workflow sources and compiled lock files
110+ - says this release marks the latest published workflow set for this repository
123111- mentions the included workflow source files by name
124112- references the previous release tag when one exists
125113- stays concise and scannable
126114
127- If ` previous_release.json ` is ` null ` , describe this as the first published release for these workflow assets .
115+ If ` previous_release.json ` is ` null ` , describe this as the first published release for these workflows .
128116
129117## Output Requirements
130118
0 commit comments