Skip to content

Release Workflow fails when release title is a number #149

Closed

Description

@thops

When creating a release that is purely a number, GitHub actions will fail because ESPHome expects a string for version, but the yaml value is interpreted as a float.

An example of failure is in my forked repo where I attempted to create a release titled 1.0
https://github.com/t486/ESPHomeFeitSmartOutdoor

Action failure:

esphome: None
  name: feit-outdoor-relay
  friendly_name: Outdoor Plug (Feit BPPLUG/WIFI/WP/2)
  name_add_mac_suffix: True
  project: 
    name: esphome.feit-outdoor-relay
    
    Must be string, got <class 'esphome.helpers.EFloat'>. did you forget putting quotes around the value?.
    version: 1.0
  min_version: 2025.11.3
  build_path: build/feit-outdoor-relay

With no code or workflow changes, I was able to get through the build workflow by changing the release title to v1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions