You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-L 50 -q '.[] | select(.isPrerelease==false and .isDraft==false) | .tagName' | head -n 1)
119
122
fi
120
123
121
-
echo "Base release: $BASE"
122
-
echo "base_release=$BASE" >> $GITHUB_OUTPUT
124
+
if [ -z "$BASE" ]; then
125
+
echo "No older release found; please make sure to have at least one older release containing the 'update-assets.zip' file in order to generate the differences."
126
+
exit 1
127
+
else
128
+
echo "Base release: $BASE"
129
+
echo "base_release=$BASE" >> $GITHUB_OUTPUT
130
+
fi
123
131
124
132
- name: Prepare update-assets.zip
125
133
env:
126
134
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127
135
run: |
128
-
mkdir -p update_assets_temp renamed
129
-
echo "Downloading assets from release ${{ steps.get_base_release.outputs.base_release }}"
echo "No 'update-assets.zip' file found in release '${{ steps.get_base_release.outputs.base_release }}'; please make sure to have this file in that older release in order to generate the differences."
155
+
exit 1
156
+
fi
157
+
158
+
- name: Prepare pre-changelog message
159
+
id: pre_changelog_message
160
+
env:
161
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
162
+
run: |
163
+
echo "Preparing a pre-changelog message..."
164
+
165
+
BODY="If you would like to download the full builds of the engine from this release, please ignore the files starting with 'update-' as they're needed for the engine's internal autoupdater.\n\n"
166
+
167
+
if [ -n "${{ github.event.inputs.custom_message }}" ]; then
0 commit comments