@@ -93,23 +93,23 @@ jobs:
9393
9494 # 为 aarch64 生成 update.json
9595 SIGNATURE_AARCH64=$(cat "${DMG_AARCH64}.sig")
96- echo ' {
97- "version": "${{ github.ref_name }}",
98- "pub_date": "' $(date -u +"%Y-%m-%dT%H:%M:%SZ")' ",
99- "url": "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/MessAuto_${VERSION}_aarch64.dmg",
100- "signature": "' $SIGNATURE_AARCH64' ",
101- "format": "app"
102- }' > ./update-aarch64.json
96+ echo " {
97+ \ "version\ ": \ "${{ github.ref_name }}\ ",
98+ \ "pub_date\ ": \" $(date -u +"%Y-%m-%dT%H:%M:%SZ")\ ",
99+ \ "url\ ": \ "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/MessAuto_${VERSION}_aarch64.dmg\ ",
100+ \ "signature\ ": \" $SIGNATURE_AARCH64\ ",
101+ \ "format\ ": \ "app\ "
102+ }" > ./update-aarch64.json
103103
104104 # 为 x86_64 生成 update.json
105105 SIGNATURE_X86_64=$(cat "${DMG_X86_64}.sig")
106- echo ' {
107- "version": "${{ github.ref_name }}",
108- "pub_date": "' $(date -u +"%Y-%m-%dT%H:%M:%SZ")' ",
109- "url": "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/MessAuto_${VERSION}_x64.dmg",
110- "signature": "' $SIGNATURE_X86_64' ",
111- "format": "app"
112- }' > ./update-x86_64.json
106+ echo " {
107+ \ "version\ ": \ "${{ github.ref_name }}\ ",
108+ \ "pub_date\ ": \" $(date -u +"%Y-%m-%dT%H:%M:%SZ")\ ",
109+ \ "url\ ": \ "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/MessAuto_${VERSION}_x64.dmg\ ",
110+ \ "signature\ ": \" $SIGNATURE_X86_64\ ",
111+ \ "format\ ": \ "app\ "
112+ }" > ./update-x86_64.json
113113
114114 - name : Upload Release Assets
115115 run : |
0 commit comments