Skip to content

Commit 67b293a

Browse files
1gtmtamalsaha
andauthored
[cherry-pick] Publish to testing dir for alpha/beta releases (#78) (#79)
/cherry-pick Signed-off-by: Tamal Saha <tamal@appscode.com> Co-authored-by: Tamal Saha <tamal@appscode.com>
1 parent d8c9489 commit 67b293a

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)