Skip to content

Commit

Permalink
new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Dec 29, 2023
1 parent baa1fcd commit 82b1b63
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ jobs:
# outputs:
# version: ${{ steps.set-version.outputs.version }}
env:
VERSION: ${${{ github.ref_name }}:1:5} # use version from release branch name
COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-${{ github.ref_name }}
# VERSION: ${${{ github.ref_name }}:1:5} # use version from release branch name
# COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-v$VERSION
VERSION: vX.Y.Z
COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-v$VERSION
steps:
# - name: set version
# id: set-version
Expand All @@ -35,6 +37,7 @@ jobs:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
git checkout -b $COMMUNITY_BRANCH_NAME
git push origin -u $COMMUNITY_BRANCH_NAME
gh repo sync DataDog/community-operators --branch $COMMUNITY_BRANCH_NAME \
--source k8s-operatorhub/community-operators \
--force
Expand Down

0 comments on commit 82b1b63

Please sign in to comment.