Skip to content

Commit

Permalink
removed Sensirion prefix for PIO lib
Browse files Browse the repository at this point in the history
  • Loading branch information
qfisch committed Feb 9, 2024
1 parent 5493cbe commit cfa3653
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/platformio_publish_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
cp LICENSE tmp
cp platformio.ini tmp
cp README.md tmp
- name: Remove 'Sensirion' from lib name
run: |
nameline=$(head -n 1 tmp/library.properties)
toremove='Sensirion '
pioname="${nameline/$toremove/}"
sed -i "1s/.*/$pioname/" tmp/library.properties
- name: Create library package
run: pio pkg pack tmp
- name: Upload package archive
Expand Down

0 comments on commit cfa3653

Please sign in to comment.