Skip to content

Commit c75e2fd

Browse files
authored
Publish to testing dir for alpha/beta releases
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 0fbed72 commit c75e2fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ jobs:
4242
CHART_REPOSITORY: ${{ secrets.CHART_REPOSITORY }}
4343
run: |
4444
cd $RUNNER_WORKSPACE/$(basename $CHART_REPOSITORY)
45+
GIT_TAG=${GITHUB_REF#"refs/tags/"}
46+
if [[ $GIT_TAG =~ "-alpha." ]] || [[ $GIT_TAG =~ "-beta." ]]; then
47+
export REPO_DIR=testing
48+
fi
4549
./hack/scripts/open-pr.sh $GITHUB_WORKSPACE

0 commit comments

Comments
 (0)