Skip to content

Commit

Permalink
Update publish-devices.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanForever authored Jan 26, 2022
1 parent 292b33b commit dd9b206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id: parsed-version
run: |
dev_ver='${{ github.event.inputs.version }}'
[[ $dev_ver =~ (\d*)\.(\d*)\.(\d*) ]]
[[ $dev_ver =~ ([0-9]*)\.([0-9]*)\.([0-9]*) ]]
echo "::set-output name=version-major::$(echo ${BASH_REMATCH[1]})"
echo "::set-output name=version-minor::$(echo ${BASH_REMATCH[2]})"
echo "::set-output name=version-patch::$(echo ${BASH_REMATCH[3]})"
Expand Down

0 comments on commit dd9b206

Please sign in to comment.