File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ jobs:
201201 uses : softprops/action-gh-release@v1
202202 with :
203203 files : |
204- app/dist/DaydreamScope-x64.dmg
205204 app/dist/DaydreamScope-arm64.dmg
206205 app/dist/*.zip
207206 app/dist/latest-mac.yml
Original file line number Diff line number Diff line change @@ -100,27 +100,16 @@ function updateLatestYmlMac() {
100100 const releaseDate = new Date ( ) . toISOString ( ) ;
101101
102102 const arm64Path = findZipFile ( 'arm64' ) ;
103- const x64Path = findZipFile ( 'x64' ) ;
104-
105103 const arm64Name = path . basename ( arm64Path ) ;
106- const x64Name = path . basename ( x64Path ) ;
107-
108104 const arm64Sha512 = calculateSha512 ( arm64Path ) ;
109- const x64Sha512 = calculateSha512 ( x64Path ) ;
110-
111105 const arm64Size = fs . statSync ( arm64Path ) . size ;
112- const x64Size = fs . statSync ( x64Path ) . size ;
113106
114107 const latestMacYml = `version: ${ version }
115108files:
116109 - url: ${ arm64Name }
117110 sha512: ${ arm64Sha512 }
118111 size: ${ arm64Size }
119112 arch: arm64
120- - url: ${ x64Name }
121- sha512: ${ x64Sha512 }
122- size: ${ x64Size }
123- arch: x64
124113path: ${ arm64Name }
125114sha512: ${ arm64Sha512 }
126115releaseDate: ${ releaseDate }
You can’t perform that action at this time.
0 commit comments