Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Dec 29, 2023
1 parent bf83586 commit 50beaec
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ jobs:
pull-requests: write
# 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-v$VERSION
VERSION: vX.Y.Z
COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-v${{env.VERSION}}
# env:
## 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${{env.VERSION}}
steps:
- name: setup env
run: |
echo "VERSION=${${{ github.ref_name }}:1:5}" >> $GITHUB_ENV
echo "${{ env.VERSION }}"
echo "COMMUNITY_BRANCH_NAME=${{ github.actor }}/datadog-operator-v${{env.VERSION}}" >> $GITHUB_ENV
- name: create github token
uses: actions/create-github-app-token@v1.6.2
id: app-token
Expand Down

0 comments on commit 50beaec

Please sign in to comment.