From 71e461966fc371a98df8409bba7bff813433a59a Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 23 Sep 2021 11:17:27 -0700 Subject: [PATCH] New plan: we always use the same packager name, regardless of whether we're using snapshots or releases --- bin/build-arduino-package | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/build-arduino-package b/bin/build-arduino-package index 64883b3b..31194ce1 100644 --- a/bin/build-arduino-package +++ b/bin/build-arduino-package @@ -50,18 +50,18 @@ my $platforms_template = { 'toolsDependencies' => [ { 'name' => 'xpack-arm-none-eabi-gcc', - 'packager' => 'Keyboardio', + 'packager' => 'keyboardio', 'version' => '9.3.1-1.3' }, { - 'packager' => 'Keyboardio', + 'packager' => 'keyboardio', 'version' => '0.11.0-1', 'name' => 'xpack-openocd' }, { 'name' => 'dfu-util', 'version' => '0.10.0-arduino1', - 'packager' => 'Keyboardio' + 'packager' => 'keyboardio' } ], 'version' => '0.0.1', @@ -200,11 +200,11 @@ sub update_index_file { my $json_text = <$fh>; my $data = decode_json($json_text); - my $this_packager = $data->{'packages'}->[0]->{'name'}; - foreach my $tool (@{$platforms_template->{'gd32'}->{'toolsDependencies'}}) { - # we need to set the packager of these tools to ourself, since that's what arduino expects - $tool->{"packager"} = $this_packager; - } + #my $this_packager = $data->{'packages'}->[0]->{'name'}; + #foreach my $tool (@{$platforms_template->{'gd32'}->{'toolsDependencies'}}) { + # # we need to set the packager of these tools to ourself, since that's what arduino expects + # $tool->{"packager"} = $this_packager; + # } if ($only_latest_platform) { @{ $data->{'packages'}->[0]->{'platforms'} } =