Skip to content

Commit

Permalink
Fix version update of const.py (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuffy2 authored Nov 28, 2024
1 parent b428b28 commit e2c8f9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/version_update_and_zip_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Update Version in const.py
if: ${{ github.event_name == 'release' && github.event.release.draft == false }}
run: |
sed -i 's/VERSION \= \".*\"/VERSION \= \"${{ github.ref_name }}\"/' ./custom_components/opnsense/const.py
sed -i 's/^VERSION \= \".*\"/VERSION \= \"${{ github.ref_name }}\"/' ./custom_components/opnsense/const.py
- name: Update Changelog
if: ${{ github.event_name == 'release' && github.event.release.draft == false && github.event.release.prerelease == false }}
uses: rhysd/changelog-from-release/action@v3
Expand Down
2 changes: 1 addition & 1 deletion custom_components/opnsense/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
DEFAULT_DEVICE_TRACKER_CONSIDER_HOME = 0

CONF_DEVICE_UNIQUE_ID = "device_unique_id"
CONF_FIRMWARE_VERSION = "v0.3.10"
CONF_FIRMWARE_VERSION = "firmware_version"

CONF_DEVICES = "devices"
CONF_MANUAL_DEVICES = "manual_devices"
Expand Down

0 comments on commit e2c8f9c

Please sign in to comment.