Skip to content

Commit ffedc51

Browse files
committed
Fix path for version tag replacement in build workflow
1 parent 64e7edc commit ffedc51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/buildandrelease.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ jobs:
5151
tag="${input_string#$prefix}"
5252
echo "Tag is ${tag}"
5353
sed -i "s/^[[:space:]]*pico_set_program_version(.*/pico_set_program_version(${{ env.APP_NAME }} \"$tag\")/" CMakeLists.txt
54-
sed -i "s/VX.X/$tag/" menu.h
54+
sed -i "s/VX.X/$tag/" pico_shared/menu.h
5555
else
5656
echo "The string does not start with 'refs/tags/'."
5757
fi
5858
grep "pico_set_program_version" CMakeLists.txt
59-
grep SWVERSION menu.h
59+
grep SWVERSION pico_shared/menu.h
6060
6161
# - name: Install Pico SDk
6262
# run: |

0 commit comments

Comments
 (0)