mirror of
https://github.com/home-assistant/iOS.git
synced 2026-06-17 08:28:04 -05:00
## Summary The release workflow tag pattern `release/*.*.*/*` fails to match tags like `release/2026.2.1/2026.1766` because glob `*` doesn't match dots. Changed to `release/*/*/*` for broader matching. **Before:** ```yaml tags: - 'release/*.*.*/*' # Won't match: release/2026.2.1/2026.1766 ``` **After:** ```yaml tags: - 'release/*/*/*' # Matches: release/X/Y/Z (any chars including dots) ``` Backward compatible with existing tag formats (`release/2026.2.2/beta1`, `release/2026.2.2/rc1`, etc.). ## Screenshots N/A - workflow configuration change ## Link to pull request in Documentation repository N/A - internal workflow change ## Any other notes Single line change in `.github/workflows/release.yml`. All existing workflow validation (branch checks, release creation) unchanged. <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > ## Problem > > The release workflow at `.github/workflows/release.yml` currently uses the tag pattern `release/*.*.*/*` which doesn't match tags like `release/2026.2.1/2026.1766` because the glob pattern `*` doesn't match dots. > > ## Solution > > Update the workflow trigger to be more permissive and accept tags with dots in the final segment. > > Change the trigger from: > ```yaml > on: > push: > tags: > - 'release/*.*.*/*' > ``` > > To: > ```yaml > on: > push: > tags: > - 'release/*/*/*' > ``` > > This pattern will match: > - `release/2026.2.1/2026.1766` (with dots in build number) > - `release/2026.2.2/beta1` (existing format) > - `release/2026.2.2/rc1` (existing format) > - Any other `release/X/Y` format > > ## File to modify > > `.github/workflows/release.yml` - Update the `on.push.tags` trigger pattern > > ## Validation > > The workflow should keep all existing validation (branch check) and functionality. Only the trigger pattern needs to change. </details> <!-- START COPILOT CODING AGENT SUFFIX --> *This pull request was created from Copilot chat.* > <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bgoncal <5808343+bgoncal@users.noreply.github.com>