We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d18a88a commit 36b11d2Copy full SHA for 36b11d2
1 file changed
.github/workflows/release-cli.yml
@@ -142,11 +142,13 @@ jobs:
142
# Generate individual SHA256 checksum files for each artifact
143
for dir in */; do
144
cd "$dir"
145
- for file in *.tar.gz *.zip 2>/dev/null; do
146
- if [ -f "$file" ]; then
147
- sha256sum "$file" > "${file}.sha256"
148
- echo "Generated checksum for $file:"
149
- cat "${file}.sha256"
+ for file in *; do
+ if [[ "$file" == *.tar.gz ]] || [[ "$file" == *.zip ]]; then
+ if [ -f "$file" ]; then
+ sha256sum "$file" > "${file}.sha256"
+ echo "Generated checksum for $file:"
150
+ cat "${file}.sha256"
151
+ fi
152
fi
153
done
154
cd ..
0 commit comments