Skip to content

Commit 91ef429

Browse files
committed
step
1 parent 7fd9b53 commit 91ef429

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/package_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ jobs:
291291
jq -cr '.[]' <<< ${ARTIFACTS} | while read -r artifact; do
292292
ARTIFACT_FILE=ArduinoCore-${artifact}-${CORE_HASH}.tar.bz2
293293
PACKAGE_JSON=ArduinoCore-${artifact}-${CORE_TAG}.json
294-
./extra/gen_package_index_json.sh ${artifact} ${CORE_TAG} ${ARTIFACT_FILE} > ${PACKAGE_JSON}
294+
./extra/gen_package_index_json.sh ${artifact} ${ARTIFACT_FILE} > ${PACKAGE_JSON}
295295
done
296296
297297
- name: Archive package index snippets

extra/gen_package_index_json.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
set -e
44

55
if [ $# -ne 2 ] ; then
6-
echo "Usage: $0 <artifact> <artifact_file>"
6+
echo "Usage: $0 <artifact> <artifact_file>" 1>&2
77
exit 1
88
fi
99

1010
ARTIFACT=$1
1111
ARTIFACT_FILE=$2
1212

1313
if [ ! -f "$ARTIFACT_FILE" ] ; then
14-
echo "Artifact file '$ARTIFACT_FILE' not found"
14+
echo "Artifact file '$ARTIFACT_FILE' not found" 1>&2
1515
exit 1
1616
fi
1717

@@ -20,7 +20,7 @@ if [ "$ARTIFACT" == "zephyr" ] ; then
2020
fi
2121

2222
if ! [ -f "extra/artifacts/$ARTIFACT.json" ] ; then
23-
echo "Artifact '$ARTIFACT' not found"
23+
echo "Artifact '$ARTIFACT' not found" 1>&2
2424
exit 1
2525
fi
2626

0 commit comments

Comments
 (0)