Skip to content

Conversation

ghostwriter
Copy link
Contributor

Patch Summary

Partially resolves #6327 by updating .github/workflows/release.yaml.

Workflow Trigger Improvements:

  • Added a workflow_dispatch trigger with an input field for specifying the release tag, enabling manual releases from the GitHub UI.

Environment and Tag Handling:

  • Set the RELEASE_TAG environment variable to use either the manually entered tag or the current Git reference name, streamlining tag selection for both manual and automatic releases.
  • Removed the separate step that previously determined the release tag from the Git reference, as it is now handled via the environment variable.

How to Trigger the Release Workflow (once merged)

  1. Go to the workflow:
    Visit: Release Workflow Actions

  2. Locate the workflow_dispatch banner:

    Screenshot: Banner location

    Workflow Dispatch Banner

  3. Click "Run workflow":

    Screenshot: Run workflow button

    Run Workflow Button

  4. Fill out the workflow form:

    • Select the branch containing the workflow configuration.
    • Enter the tag to release.
    • Click the green "Run workflow" button to start the release.

Note:

  • The workflow will use the configuration from the selected branch/tag. Always verify branch/tag selection before triggering a release.

  • You have multiple branches with customized workflow files, you may need to apply this patch to each branch.

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.

Make sure release workflow is triggered for each tag that is pushed
1 participant