Skip to content

Commit 12a20ea

Browse files
committed
fixup! Publish release target only
1 parent 30b4972 commit 12a20ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/foundries-target.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
echo $TARGETS | jq -r '.[] | .custom | select(has("tags")) | select(.tags | any(. == "main")) | "\(.version) \(."lmp-manifest-sha")"' | sort -r | while read TARGET SHA
5454
do
5555
if [[ -n $(git tag --points-at $SHA | grep arduino-) ]]; then
56-
echo "Found release target version $TARGET"
56+
echo "Found release target version: $TARGET"
5757
echo "target-version=$TARGET" >> $GITHUB_OUTPUT
5858
found=1
5959
break
@@ -70,6 +70,7 @@ jobs:
7070
id: get-info-pre-json
7171
run: |
7272
LATEST_VERSION=$(curl https://downloads.${{ fromJSON(env.DOMAIN)[inputs.environment] }}.cc/portentax8image/info-pre.json | jq -r '.latest.version')
73+
echo "Latest published target version: $LATEST_VERSION"
7374
echo "latest-version=$LATEST_VERSION" >> $GITHUB_OUTPUT
7475
env:
7576
DOMAIN: '{"staging": "oniudra", "production": "arduino"}'

0 commit comments

Comments
 (0)