Skip to content

Commit

Permalink
Bring back the release branch prefix
Browse files Browse the repository at this point in the history
It makes it easier to the GitHub CI if there's a branch name prefix.

Decide to make it "release-" instead of "redhat-" this time around.
  • Loading branch information
simonbaird committed Dec 11, 2023
1 parent 8391657 commit 1ddc271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ name: Checks
pull_request:
branches:
- main
- redhat-*
- release-*
push:
branches:
- main
- redhat-*
- release-*
workflow_dispatch:

permissions:
Expand Down
4 changes: 2 additions & 2 deletions hack/cut-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [[ $RELEASE_NAME == "" ]]; then
fi

# Use release name as-is for the branch name
BRANCH_NAME="${RELEASE_NAME}"
BRANCH_NAME="release-${RELEASE_NAME}"

# RHTAP disallows . chars in names so remove those
RHTAP_APPLICATION_SUFFIX="${RELEASE_NAME/./}"
Expand All @@ -50,7 +50,7 @@ echo RHTAP cli component name: $RHTAP_CLI_COMPONENT_NAME
RHTAP_APPS_URL=https://console.redhat.com/preview/application-pipeline/workspaces/rhtap-contract/applications

# Explain what needs to be done next
# (We could make this more automated this in future.)
# (We could make this more automated in future.)
cat <<EOT
Next steps:
Expand Down

0 comments on commit 1ddc271

Please sign in to comment.