@@ -153,8 +153,8 @@ jobs:
153153 # strip -S index.node
154154 # objcopy --add-gnu-debuglink=index.node.dbg index.node
155155 # sentry-cli difutil check index.node.dbg
156- # sentry-cli upload-dif -o "iota-foundation-h4" -p "firefly -backend" --include-sources index.node.dbg
157- # sentry-cli upload-dif -o "iota-foundation-h4" -p "firefly -desktop" --include-sources index.node.dbg
156+ # sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool -backend" --include-sources index.node.dbg
157+ # sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool -desktop" --include-sources index.node.dbg
158158 # working-directory: packages/backend/bindings/node
159159 # env:
160160 # SENTRY_LOG_LEVEL: 'debug'
@@ -164,8 +164,8 @@ jobs:
164164 - name : Upload backend debug info to Sentry (Windows)
165165 run : |
166166 sentry-cli difutil check node_neon.pdb
167- sentry-cli upload-dif -o "iota-foundation-h4" -p "firefly -backend" --include-sources node_neon.pdb
168- sentry-cli upload-dif -o "iota-foundation-h4" -p "firefly -desktop" --include-sources node_neon.pdb
167+ sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool -backend" --include-sources node_neon.pdb
168+ sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool -desktop" --include-sources node_neon.pdb
169169 working-directory : packages/backend/bindings/node/native/target/x86_64-pc-windows-msvc/release
170170 env :
171171 SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
@@ -202,8 +202,8 @@ jobs:
202202 env :
203203 CSC_LINK : ${{ secrets.MAC_CERT_BASE64 }}
204204 CSC_KEY_PASSWORD : ${{ secrets.MAC_CERT_PASSWORD }}
205- FIREFLY_APPLE_ID : ${{ secrets.APPLE_ID }}
206- FIREFLY_APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
205+ LEGACY_MIGRATION_TOOL_APPLE_ID : ${{ secrets.APPLE_ID }}
206+ LEGACY_MIGRATION_TOOL_APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
207207 working-directory : packages/desktop
208208 if : matrix.os == 'macos-13'
209209
@@ -230,33 +230,33 @@ jobs:
230230 if : matrix.os == 'ubuntu-20.04'
231231
232232 - name : Sign AppImage (Linux)
233- run :
echo $GPG_PASSPHRASE | gpg --pinentry-mode loopback --batch --passphrase-fd 0 --armor --detach-sign --default-key [email protected] firefly -desktop*.AppImage 233+ run :
echo $GPG_PASSPHRASE | gpg --pinentry-mode loopback --batch --passphrase-fd 0 --armor --detach-sign --default-key [email protected] iota-legacy-migration-tool -desktop*.AppImage 234234 working-directory : packages/desktop/out
235235 env :
236236 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
237237 if : matrix.os == 'ubuntu-20.04'
238238
239239 - name : Compute checksums (Linux)
240- run : for i in `ls | grep 'firefly -desktop*'` ; do sha256sum $i | awk {'print $1'} > $i.sha256 ; done
240+ run : for i in `ls | grep 'iota-legacy-migration-tool -desktop*'` ; do sha256sum $i | awk {'print $1'} > $i.sha256 ; done
241241 working-directory : packages/desktop/out
242242 if : matrix.os == 'ubuntu-20.04'
243243
244244 - name : Compute checksums (macOS)
245- run : for i in `ls | grep 'firefly -desktop*'` ; do shasum -a 256 $i | awk {'print $1'} > $i.sha256 ; done
245+ run : for i in `ls | grep 'iota-legacy-migration-tool -desktop*'` ; do shasum -a 256 $i | awk {'print $1'} > $i.sha256 ; done
246246 working-directory : packages/desktop/out
247247 if : matrix.os == 'macos-13'
248248
249249 - name : Compute checksums (Windows)
250- run : Get-ChildItem "." -Filter firefly -desktop* | Foreach-Object { $(Get-FileHash -Path $_.FullName -Algorithm SHA256).Hash | Set-Content ($_.FullName + '.sha256') }
250+ run : Get-ChildItem "." -Filter iota-legacy-migration-tool -desktop* | Foreach-Object { $(Get-FileHash -Path $_.FullName -Algorithm SHA256).Hash | Set-Content ($_.FullName + '.sha256') }
251251 working-directory : packages/desktop/out
252252 if : matrix.os == 'windows-latest'
253253
254254 - name : Upload artifacts
255255 uses : actions/upload-artifact@v2
256256 with :
257- name : firefly -desktop-${{ matrix.os }}
257+ name : iota-legacy-migration-tool -desktop-${{ matrix.os }}
258258 path : |
259- packages/desktop/out/firefly -desktop*
259+ packages/desktop/out/iota-legacy-migration-tool -desktop*
260260 packages/desktop/out/latest*
261261
262262 release :
@@ -277,38 +277,38 @@ jobs:
277277 - name : Downloading artifacts
278278 uses : actions/download-artifact@v2
279279 with :
280- name : firefly -desktop-windows-latest
280+ name : iota-legacy-migration-tool -desktop-windows-latest
281281 path : assets
282282
283283 - name : Downloading artifacts
284284 uses : actions/download-artifact@v2
285285 with :
286- name : firefly -desktop-macos-13
286+ name : iota-legacy-migration-tool -desktop-macos-13
287287 path : assets
288288
289289 - name : Downloading artifacts
290290 uses : actions/download-artifact@v2
291291 with :
292- name : firefly -desktop-ubuntu-20.04
292+ name : iota-legacy-migration-tool -desktop-ubuntu-20.04
293293 path : assets
294294
295295 - name : Preparing release body
296296 run : |
297297 sed -i 's/\r$//' ../../assets/*.sha256 && sed -i '/^$/d' ../../assets/*.sha256 && sed -i -e 's/\(.*\)/\L\1/' ../../assets/*.sha256
298- WIN_SHA256=$(cat ../../assets/firefly -desktop-${{ env.VERSION }}.exe.sha256)
299- LIN_SHA256=$(cat ../../assets/firefly -desktop-${{ env.VERSION }}.AppImage.sha256)
300- MAC_SHA256=$(cat ../../assets/firefly -desktop-${{ env.VERSION }}.dmg.sha256)
298+ WIN_SHA256=$(cat ../../assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.exe.sha256)
299+ LIN_SHA256=$(cat ../../assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.AppImage.sha256)
300+ MAC_SHA256=$(cat ../../assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.dmg.sha256)
301301 echo $WIN_SHA256 $LIN_SHA256 $MAC_SHA256
302302 touch CHANGELOG.md
303303 echo '### Changelog' >> CHANGELOG.md
304304 echo '------' >> CHANGELOG.md
305305 echo '### File Hashes' >> CHANGELOG.md
306- echo '[How to verify the authenticity of your Firefly Desktop download](https://wiki.iota.org/chrysalis-docs/firefly/verify_download)' >> CHANGELOG.md
306+ echo '[How to verify the authenticity of your IOTA Legacy Migration Tool Desktop download](https://wiki.iota.org/chrysalis-docs/firefly/verify_download)' >> CHANGELOG.md
307307 echo '| File | Platform | SHA256 Hash |' >> CHANGELOG.md
308308 echo '| --- | --- | --- |' >> CHANGELOG.md
309- echo '| firefly -desktop-${{ env.VERSION }}.exe | Windows |' $WIN_SHA256 '|' >> CHANGELOG.md
310- echo '| firefly -desktop-${{ env.VERSION }}.AppImage | Linux |' $LIN_SHA256 '|' >> CHANGELOG.md
311- echo '| firefly -desktop-${{ env.VERSION }}.dmg | MacOS | ' $MAC_SHA256 '|' >> CHANGELOG.md
309+ echo '| iota-legacy-migration-tool -desktop-${{ env.VERSION }}.exe | Windows |' $WIN_SHA256 '|' >> CHANGELOG.md
310+ echo '| iota-legacy-migration-tool -desktop-${{ env.VERSION }}.AppImage | Linux |' $LIN_SHA256 '|' >> CHANGELOG.md
311+ echo '| iota-legacy-migration-tool -desktop-${{ env.VERSION }}.dmg | MacOS | ' $MAC_SHA256 '|' >> CHANGELOG.md
312312 cat CHANGELOG.md
313313 working-directory : packages/desktop
314314
@@ -319,7 +319,7 @@ jobs:
319319 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
320320 with :
321321 tag_name : ${{ github.ref }}
322- release_name : Firefly Desktop ${{ env.RELEASE_NAME }}
322+ release_name : IOTA Legacy Migration Tool ${{ env.RELEASE_NAME }}
323323 body_path : packages/desktop/CHANGELOG.md
324324 draft : true
325325 prerelease : ${{ env.STAGE != 'prod' }}
@@ -330,8 +330,8 @@ jobs:
330330 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
331331 with :
332332 upload_url : ${{ steps.create_release.outputs.upload_url }}
333- asset_path : assets/firefly -desktop-${{ env.VERSION }}.dmg
334- asset_name : firefly -desktop-${{ env.VERSION }}.dmg
333+ asset_path : assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.dmg
334+ asset_name : iota-legacy-migration-tool -desktop-${{ env.VERSION }}.dmg
335335 asset_content_type : application/octet-stream
336336
337337 - name : Upload Windows binary asset
@@ -340,8 +340,8 @@ jobs:
340340 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
341341 with :
342342 upload_url : ${{ steps.create_release.outputs.upload_url }}
343- asset_path : assets/firefly -desktop-${{ env.VERSION }}.exe
344- asset_name : firefly -desktop-${{ env.VERSION }}.exe
343+ asset_path : assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.exe
344+ asset_name : iota-legacy-migration-tool -desktop-${{ env.VERSION }}.exe
345345 asset_content_type : application/octet-stream
346346
347347 - name : Upload Linux binary asset
@@ -350,8 +350,8 @@ jobs:
350350 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
351351 with :
352352 upload_url : ${{ steps.create_release.outputs.upload_url }}
353- asset_path : assets/firefly -desktop-${{ env.VERSION }}.AppImage
354- asset_name : firefly -desktop-${{ env.VERSION }}.AppImage
353+ asset_path : assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.AppImage
354+ asset_name : iota-legacy-migration-tool -desktop-${{ env.VERSION }}.AppImage
355355 asset_content_type : application/octet-stream
356356
357357 - name : Upload Linux code signature asset
@@ -360,27 +360,6 @@ jobs:
360360 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
361361 with :
362362 upload_url : ${{ steps.create_release.outputs.upload_url }}
363- asset_path : assets/firefly -desktop-${{ env.VERSION }}.AppImage.asc
364- asset_name : firefly -desktop-${{ env.VERSION }}.AppImage.asc
363+ asset_path : assets/iota-legacy-migration-tool -desktop-${{ env.VERSION }}.AppImage.asc
364+ asset_name : iota-legacy-migration-tool -desktop-${{ env.VERSION }}.AppImage.asc
365365 asset_content_type : application/pgp-signature
366-
367- - name : Listing artifacts
368- run : ls -al assets
369-
370- - name : Upload to S3
371- if : env.STAGE == 'prod'
372- run : |
373- aws s3 cp assets/ s3://iotaledger-files/4a1ddea1-10c1-4f1d-83f0-e14903931a46/releases/ --recursive --include "*" --exclude "*.sha256" --exclude "*.blockmap" --exclude "*.asc" --acl public-read
374- aws s3 cp assets/ s3://iotaledger-files/firefly/releases/ --recursive --include "*" --exclude "*.sha256" --exclude "*.blockmap" --exclude "*.asc" --acl public-read
375- env :
376- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
377- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
378- AWS_DEFAULT_REGION : eu-central-1
379-
380- - name : Invalidate CloudFront cache for auto-update files
381- if : env.STAGE == 'prod'
382- run : aws cloudfront create-invalidation --distribution-id E32G4HRED4PO65 --paths "/latest*"
383- env :
384- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
385- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
386- AWS_DEFAULT_REGION : eu-central-1
0 commit comments