Skip to content

fix(frontend): make development label detection cross-platform#6988

Open
Ludy87 wants to merge 1 commit into
mainfrom
fix_development_label_20260712
Open

fix(frontend): make development label detection cross-platform#6988
Ludy87 wants to merge 1 commit into
mainfrom
fix_development_label_20260712

Conversation

@Ludy87

@Ludy87 Ludy87 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Description of Changes

This PR makes the frontend development label detection compatible with both Windows and Unix-based environments.

  • Added platform-specific handling to the STIRLING_DEV_LABEL Taskfile variable.
  • Uses PowerShell and Split-Path on Windows.
  • Retains the existing basename implementation on Linux and macOS.
  • Preserves the fallback to the current working directory when the Git repository root cannot be determined.
  • Fixes task frontend:dev and task dev:all failing on Windows because basename was unavailable.
  • Handles shell quoting explicitly so PowerShell variables are not expanded by the intermediate command shell.

Checklist

General

Documentation

Translations (if applicable)

UI Changes (if applicable)

  • Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)

Testing (if applicable)

  • I have run task check to verify linters, typechecks, and tests pass
  • I have tested my changes locally. Refer to the Testing Guide for more details.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines ignoring generated files. Bugfix Pull requests that fix bugs labels Jul 11, 2026
@stirlingbot

stirlingbot Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

🚀 V2 Auto-Deployment Complete!

🔗 Direct Test URL (non-SSL) http://54.175.155.236:6988

🧩 Admin portal included - try it at http://54.175.155.236:6988/portal.

This deployment will be automatically cleaned up when the PR is closed.

🔄 Auto-deployed for approved V2 contributors.

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

Labels

Bugfix Pull requests that fix bugs size:XS This PR changes 0-9 lines ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant