Skip to content

Commit 9f7e783

Browse files
committed
ci: Fix Copilot review comments on firmware release workflow.
1 parent 56f28f9 commit 9f7e783

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
run: |
8080
VERSION="v${{ needs.release.outputs.new-release-version }}"
8181
BUILD_DIR=".build/micropython-steami/ports/stm32/build-STEAM32_WB55RG"
82-
cp "${BUILD_DIR}/firmware.hex" "steami-firmware-${VERSION}.hex"
83-
cp "${BUILD_DIR}/firmware.bin" "steami-firmware-${VERSION}.bin"
82+
cp "${BUILD_DIR}/firmware.hex" "steami-micropython-firmware-${VERSION}.hex"
83+
cp "${BUILD_DIR}/firmware.bin" "steami-micropython-firmware-${VERSION}.bin"
8484
gh release upload "$VERSION" \
8585
"steami-micropython-firmware-${VERSION}.hex" \
8686
"steami-micropython-firmware-${VERSION}.bin" \

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}],
2626
["@semantic-release/exec", {
2727
"prepareCmd": "sed -i 's/^version = \".*\"/version = \"${nextRelease.version}\"/' pyproject.toml",
28-
"publishCmd": "echo new-release-published=true >> $GITHUB_OUTPUT && echo new-release-version=${nextRelease.version} >> $GITHUB_OUTPUT"
28+
"publishCmd": "[ -n \"${GITHUB_OUTPUT:-}\" ] && { echo 'new-release-published=true' >>\"$GITHUB_OUTPUT\"; echo \"new-release-version=${nextRelease.version}\" >>\"$GITHUB_OUTPUT\"; } || true"
2929
}],
3030
["@semantic-release/git", {
3131
"assets": ["CHANGELOG.md", "pyproject.toml"],

0 commit comments

Comments
 (0)