Skip to content

Commit

Permalink
add branch selection
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Feb 19, 2024
1 parent 476f581 commit 09ca85b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Create new release
on:
workflow_dispatch:
inputs:
target_branch:
description: "Target branch or full commit SHA (default develop)"
default: "develop"
release_tag:
description: "Release tag"
required: true
Expand All @@ -24,11 +27,13 @@ jobs:
tag: ${{ github.event.inputs.release_tag }}
title: ${{ github.event.inputs.release_name }}
tests: ${{ github.event.inputs.run-tests }}
target_branch: ${{ github.event.inputs.target_branch }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="$title" \
--notes="Run tests: $tests"
--target="$target_branch"
Expand Down

0 comments on commit 09ca85b

Please sign in to comment.