Skip to content

Commit

Permalink
enh(release-trigger): add option to trigger develop (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntoja authored Jun 18, 2024
1 parent 74789b9 commit 40b54ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-trigger-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ jobs:
COMPONENTS_COLLECT_FULL=("Centreon collect")
RUNS_URL=""
if [[ ${{ inputs.dispatch_target_release_branch }} =~ ^release-2[0-9]\.[0-9]+-next$ ]];then
echo "Using ${{ inputs.dispatch_target_release_branch }} as release branch to build testing packages."
# Accept release prefixed or develop branches, nothing else
if [[ ${{ inputs.dispatch_target_release_branch }} =~ ^release-2[0-9]\.[0-9]+-next$ ]] || [[ ${{ inputs.dispatch_target_release_branch }} == "develop" ]];then
echo "Using ${{ inputs.dispatch_target_release_branch }} as branch to build testing packages."
RUNS_URL="https://github.com/centreon/centreon-collect/actions?query=branch%3A${{ inputs.dispatch_target_release_branch }}"
else
echo "::error::Invalid release branch name, please check the release branch name."
Expand Down

0 comments on commit 40b54ce

Please sign in to comment.