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 829022bCopy full SHA for 829022b
1 file changed
.github/workflows/stage.yml
@@ -104,9 +104,15 @@ 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 }:0:7}"
+ # Rename plugin files to include short commit ID and create checksums
+ for pkg in *.zip; do
110
+ [ ! -f "$pkg" ] && continue
111
+ new_pkg="${pkg%.zip}-${short_sha}.zip"
112
+ echo "Renaming $pkg to $new_pkg"
113
+ mv "$pkg" "$new_pkg"
114
+ echo "Creating checksum for $new_pkg"
115
+ sha256sum "$new_pkg" > "$new_pkg.sha256"
116
done
117
118
- name: Upload packages and checksums as early-access release assets
0 commit comments