We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada9d60 commit 896f2bbCopy full SHA for 896f2bb
.github/workflows/stage.yml
@@ -104,9 +104,16 @@ jobs:
104
- name: Create SHA256 checksums for the binaries
105
working-directory: distributions
106
run: |
107
- for pkg in *
108
- do
109
- sha256sum "$pkg" > "$pkg.sha256"
+ short_sha="${{ github.sha }}"
+ short_sha="${short_sha:0:7}"
+ # Rename plugin files to include short commit ID and create checksums
110
+ for pkg in *.zip; do
111
+ [ ! -f "$pkg" ] && continue
112
+ new_filename="${pkg%.zip}-${short_sha}.zip"
113
+ echo "Renaming $pkg to $new_filename"
114
+ mv "$pkg" "$new_filename"
115
+ echo "Creating checksum for $new_filename"
116
+ sha256sum "$new_filename" > "$new_filename.sha256"
117
done
118
119
- name: Upload packages and checksums as early-access release assets
0 commit comments