Skip to content

Commit a167514

Browse files
authored
Update tool name in package_index (#34)
* Revert "[skip changelog] Disabled package index snippet generation (#33)" This reverts commit f88c4b3. * rename tool in package_index.json * update template with new download URLs * change name in package_index (once again)
1 parent 28333ef commit a167514

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.github/workflows/release.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,10 @@ jobs:
123123
repo-token: ${{ secrets.GITHUB_TOKEN }}
124124
version: 3.x
125125

126-
# NOTICE: Generation of the index data is disabled for the time being.
127-
# For more info: https://arduino.atlassian.net/browse/ATL-1301?focusedCommentId=28347
128-
# - name: Build
129-
# # This must be done after OS X notarization or the wrong checksum
130-
# # would be calculated since the binary is modified during notarization
131-
# run: task dist:generate-index-data
126+
- name: Build
127+
# This must be done after OS X notarization or the wrong checksum
128+
# would be calculated since the binary is modified during notarization
129+
run: task dist:generate-index-data
132130

133131
- name: Identify Prerelease
134132
# This is a workaround while waiting for create-release action

extras/package_index.json.template

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
2-
"name": "fwupdater",
2+
"name": "arduino-fwuploader",
33
"version": "%%VERSION%%",
44
"systems": [
55
{
66
"host": "i686-linux-gnu",
7-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_Linux_32bit.tar.bz2",
7+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_Linux_32bit.tar.bz2",
88
"archiveFileName": "%%FILENAME%%_%%VERSION%%_Linux_32bit.tar.bz2",
99
"checksum": "SHA-256:%%LINUX32_SHA%%",
1010
"size": "%%LINUX32_SIZE%%"
1111
},
1212
{
1313
"host": "x86_64-pc-linux-gnu",
14-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_Linux_64bit.tar.bz2",
14+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_Linux_64bit.tar.bz2",
1515
"archiveFileName": "%%FILENAME%%_%%VERSION%%_Linux_64bit.tar.bz2",
1616
"checksum": "SHA-256:%%LINUX64_SHA%%",
1717
"size": "%%LINUX64_SIZE%%"
1818
},
1919
{
2020
"host": "i686-mingw32",
21-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_Windows_32bit.zip",
21+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_Windows_32bit.zip",
2222
"archiveFileName": "%%FILENAME%%_%%VERSION%%_Windows_32bit.zip",
2323
"checksum": "SHA-256:%%WINDOWS32_SHA%%",
2424
"size": "%%WINDOWS32_SIZE%%"
2525
},
2626
{
2727
"host": "x86_64-mingw32",
28-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_Windows_64bit.zip",
28+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_Windows_64bit.zip",
2929
"archiveFileName": "%%FILENAME%%_%%VERSION%%_Windows_64bit.zip",
3030
"checksum": "SHA-256:%%WINDOWS64_SHA%%",
3131
"size": "%%WINDOWS64_SIZE%%"
3232
},
3333
{
3434
"host": "i386-apple-darwin11",
35-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_macOS_64bit.tar.bz2",
35+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_macOS_64bit.tar.bz2",
3636
"archiveFileName": "%%FILENAME%%_%%VERSION%%_macOS_64bit.tar.bz2",
3737
"checksum": "SHA-256:%%OSX_SHA%%",
3838
"size": "%%OSX_SIZE%%"
3939
},
4040
{
4141
"host": "arm-linux-gnueabihf",
42-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_Linux_ARM.tar.bz2",
42+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_Linux_ARM.tar.bz2",
4343
"archiveFileName": "%%FILENAME%%_%%VERSION%%_Linux_ARM.tar.bz2",
4444
"checksum": "SHA-256:%%LINUXARM_SHA%%",
4545
"size": "%%LINUXARM_SIZE%%"
4646
},
4747
{
4848
"host": "aarch64-linux-gnu",
49-
"url": "http://downloads.arduino.cc/tools/%%FILENAME%%_%%VERSION%%_Linux_ARM64.tar.bz2",
49+
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_Linux_ARM64.tar.bz2",
5050
"archiveFileName": "%%FILENAME%%_%%VERSION%%_Linux_ARM64.tar.bz2",
5151
"checksum": "SHA-256:%%LINUXARM64_SHA%%",
5252
"size": "%%LINUXARM64_SIZE%%"

0 commit comments

Comments
 (0)