Skip to content

Commit

Permalink
rework of platform.txt swap after sed modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
artynet committed Nov 15, 2021
1 parent 013bcab commit 595507f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ package_release:
sed 's/^tools.uf2conv.cmd=.*//g' |
sed 's/^#tools.uf2conv.cmd=/tools.uf2conv.cmd=/g' |
sed 's/^tools.picoprobe.cmd=.*//g' |
sed 's/^#tools.picoprobe.cmd=/tools.picoprobe.cmd=/g' | tee platform.txt
sed 's/^#tools.picoprobe.cmd=/tools.picoprobe.cmd=/g' | tee /tmp/platform.txt
- rm platform.txt

- mv /tmp/platform.txt .

# Put core version and short hash of git version into core_version.h
- echo "#define ARDUINO_RP2040_GIT_VER 0x`git rev-parse --short=8 HEAD 2>/dev/null`" > cores/rp2040/core_version.h
Expand Down Expand Up @@ -125,7 +129,7 @@ package_release:

# adding Microcontroller ID into core
- git clone $REPO_LIB_MICROCONTROLLER_ID_URL -b 1.0.0 libraries/Microcontroller-id

# adding MQTT PubSubClient into core
- git clone $REPO_LIB_PUBSUBCLIENT_URL -b v2.8 libraries/PubSubClient

Expand Down

0 comments on commit 595507f

Please sign in to comment.