Skip to content

feat: add workflow_dispatch option in publish script#2

Merged
l2hyunwoo merged 6 commits intomainfrom
feat/add-publish-workflow
Oct 25, 2025
Merged

feat: add workflow_dispatch option in publish script#2
l2hyunwoo merged 6 commits intomainfrom
feat/add-publish-workflow

Conversation

@l2hyunwoo
Copy link
Owner

No description provided.

@l2hyunwoo l2hyunwoo self-assigned this Oct 25, 2025
Base automatically changed from fix/ci to main October 25, 2025 11:33
@l2hyunwoo l2hyunwoo force-pushed the feat/add-publish-workflow branch from 73507d9 to d8ded60 Compare October 25, 2025 11:34
@l2hyunwoo l2hyunwoo requested a review from Copilot October 25, 2025 11:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the publish workflow from a tag-based trigger to a manual workflow_dispatch trigger, enabling controlled releases with version input validation. The workflow now includes comprehensive version management, validation steps, and improved release notes generation.

Key Changes:

  • Replaced automatic tag-based trigger with manual workflow_dispatch requiring version input
  • Added multi-job workflow with validation, version commit creation, CI validation, and publishing steps
  • Enhanced release notes generation with automated changelog from merged PRs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

l2hyunwoo and others added 2 commits October 25, 2025 20:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@l2hyunwoo l2hyunwoo merged commit 8bf595b into main Oct 25, 2025
5 checks passed
@l2hyunwoo l2hyunwoo deleted the feat/add-publish-workflow branch October 25, 2025 11:47
l2hyunwoo added a commit that referenced this pull request Dec 1, 2025
Address PR review comment #2: The API contract in TypeScript documentation
(src/DeviceInfo.nitro.ts:954) specifies "@returns IP address string or
'unknown'". Changed return values from "" to "unknown" in both
getIpAddress() and queryIpAddressInternal() to maintain backward
compatibility and API consistency.
l2hyunwoo added a commit that referenced this pull request Dec 1, 2025
* fix(ios): prioritize IPv4 over IPv6 in getIpAddress()

* fix(ios): add nil guard for interface in getIpAddress()

Address PR review comment #5: The force unwrap of interface?.ifa_name
could crash if interface is nil. Use guard statement to safely unwrap
the interface before accessing its properties.

* fix(ios): add nil guard for ifa_addr to prevent crash

Address PR review comments #1 and #4: ifa_addr can be nil if the
interface has no address assigned. According to Apple Developer Forums
and the getifaddrs man page, this is a valid scenario that must be
handled. Add guard statement to safely check ifa_addr before accessing
its properties in both getIpAddress() and queryIpAddressInternal().

* fix(ios): correct misleading comment in getIpAddress()

Address PR review comment #3: The comment "Found IPv4, return immediately"
was misleading since the code doesn't return - it stores the address and
continues iterating. Changed to "Found IPv4, store it" to match the
actual behavior and maintain consistency with queryIpAddressInternal().

* fix(ios): return 'unknown' instead of empty string for IP address

Address PR review comment #2: The API contract in TypeScript documentation
(src/DeviceInfo.nitro.ts:954) specifies "@returns IP address string or
'unknown'". Changed return values from "" to "unknown" in both
getIpAddress() and queryIpAddressInternal() to maintain backward
compatibility and API consistency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants