Skip to content

Commit b6a9e75

Browse files
Remove unneeded and invalid file changes
The makever script sets up the repo properly, so no need to patch things in the package stage.
1 parent 285c964 commit b6a9e75

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

package/build_boards_manager_package.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,6 @@ sed "s/version=.*/version=$ver/g" |\
116116
sed -E "s/name=([a-zA-Z0-9\ -]+).*/name=\1($ver)/g"\
117117
> $outdir/platform.txt
118118

119-
# Put core version and short hash of git version into core_version.h
120-
ver_define=`echo $plain_ver | tr "[:lower:].\055" "[:upper:]_"`
121-
echo Ver define: $ver_define
122-
echo \#define ARDUINO_RP2040_GIT_VER 0x`git rev-parse --short=8 HEAD 2>/dev/null` >$outdir/cores/rp2040/core_version.h
123-
echo \#define ARDUINO_RP2040_GIT_DESC `git describe --tags 2>/dev/null` >>$outdir/cores/rp2040/core_version.h
124-
echo \#define ARDUINO_RP2040_RELEASE_$ver_define >>$outdir/cores/rp2040/core_version.h
125-
echo \#define ARDUINO_RP2040_RELEASE \"$ver_define\" >>$outdir/cores/rp2040/core_version.h
126-
127-
sed -i 's/"version": .*/"version": "'$visible_ver'"/' $outdir/package.json
128-
129119
# Zip the package
130120
pushd package/versions/$visible_ver
131121
echo "Making $package_name.zip"

0 commit comments

Comments
 (0)