Ver Fonte

fix automation

Bob Matcuk há 3 anos atrás
pai
commit
395c4340f9
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 2 1
      .github/workflows/release.yml
  2. 1 1
      scripts/update-firmware.sh

+ 2 - 1
.github/workflows/release.yml

@@ -5,7 +5,8 @@ on:
     tags:
     tags:
       - 'v[0-9]+.[0-9]+.[0-9]+'
       - 'v[0-9]+.[0-9]+.[0-9]+'
 
 
-env.firmware_version: '0.74.2'
+env:
+  firmware_version: '0.74.2'
 
 
 jobs:
 jobs:
   build:
   build:

+ 1 - 1
scripts/update-firmware.sh

@@ -31,7 +31,7 @@ fi
 print_status notice "new qrcode version: $VER"
 print_status notice "new qrcode version: $VER"
 
 
 # update firmware version in automation
 # update firmware version in automation
-sed -i -e "/^env.firmware_version:/s/'.*'/'$FIRMWARE_VER'/" .github/workflows/release.yml
+sed -i -e "/firmware_version:/s/'.*'/'$FIRMWARE_VER'/" .github/workflows/release.yml
 
 
 # commit and tag
 # commit and tag
 git add .github/workflows/release.yml
 git add .github/workflows/release.yml