mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 09:26:14 -08:00
Update the GitHub release action to mark releases from pull request events as prerelease and to set a safe tag name when the is not triggered by a tag ref. - Set prerelease to true when github.event_name == 'pull_request' so draft releases created during PR workflows are marked as prereleases. - Use the tag name from github.ref_name when the workflow is triggered by a tag; otherwise generate a deterministic test tag "test-<sha>" to avoid using an invalid or empty tag name. This prevents accidental full releases from PR runs and ensures the action always has a valid tag_name value.