File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,8 @@ jobs:
213
213
214
214
# Calculate Base64-encoded SHA-512 hash using CertUtil
215
215
HASH=$(certutil -hashfile "$FILE" SHA512 | tail -n +2 | head -n -1 | tr -d '\r\n' | xxd -r -p | base64)
216
+ # Remove any newlines from the HASH
217
+ HASH=$(echo "$HASH" | tr -d '\n')
216
218
217
219
# Log the calculated hash and file size
218
220
echo "Calculated SHA-512 hash (Base64): $HASH"
@@ -235,7 +237,7 @@ jobs:
235
237
yq e ".files[0].sha512 = \"$HASH\"" -i "$LATEST_YML"
236
238
yq e ".files[0].size = $SIZE" -i "$LATEST_YML"
237
239
yq e ".sha512 = \"$HASH\"" -i "$LATEST_YML"
238
-
240
+ yq e -i ".files[0].sha512 |= . | .sha512 |= ." "$LATEST_YML"
239
241
echo "Updated $LATEST_YML with size=$SIZE and sha512=$HASH"
240
242
if : matrix.os == 'windows-2019'
241
243
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " desktop" ,
3
3
"productName" : " Firefly IOTA" ,
4
- "version" : " 2.1.0-alpha-8 " ,
4
+ "version" : " 2.1.0-alpha-9 " ,
5
5
"description" : " Official wallet application of Shimmer" ,
6
6
"main" : " public/build/main.js" ,
7
7
"repository" :
" [email protected] :iotaledger/firefly.git" ,
You can’t perform that action at this time.
0 commit comments