Skip to content

Commit

Permalink
fix automation
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatcuk committed Jan 2, 2023
1 parent 0d6d173 commit 395c434
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

env.firmware_version: '0.74.2'
env:
firmware_version: '0.74.2'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
print_status notice "new qrcode version: $VER"

# 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
git add .github/workflows/release.yml
Expand Down

0 comments on commit 395c434

Please sign in to comment.