Skip to content

Commit 7eba78e

Browse files
👷 Regenerate checksum for continuous_claude.sh during release process
Added a step to generate and store the SHA256 checksum for continuous_claude.sh when a new version is released. This ensures integrity and verification of the script in the release workflow.
1 parent 473bcc4 commit 7eba78e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ jobs:
167167
168168
echo "✅ Updated version to $NEW_VERSION in continuous_claude.sh"
169169
170+
- name: Regenerate checksum
171+
if: steps.check_version.outputs.should_release == 'true'
172+
run: |
173+
# Generate sha256 checksum alongside the script
174+
sha256sum continuous_claude.sh > continuous_claude.sh.sha256
175+
cat continuous_claude.sh.sha256
176+
177+
echo "✅ Regenerated continuous_claude.sh.sha256"
178+
170179
- name: Generate release notes
171180
id: release_notes
172181
if: steps.check_version.outputs.should_release == 'true'
@@ -272,7 +281,7 @@ jobs:
272281
git config user.email "github-actions[bot]@users.noreply.github.com"
273282
274283
# Stage and commit changes
275-
git add continuous_claude.sh CHANGELOG.md
284+
git add continuous_claude.sh continuous_claude.sh.sha256 CHANGELOG.md
276285
git commit -m ":bookmark: Release version $NEW_VERSION"
277286
278287
# Push to main

0 commit comments

Comments
 (0)