Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Jan 2, 2024
1 parent ce3dccb commit 7d5659a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,17 @@ jobs:
contents: write
pull-requests: write
env:
VERSION: vX.Y.Z
GH_REF_NAME: vX.Y.Z
VERSION: ${GH_REF_NAME:1:5}
COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator
steps:
- name: setup env
run: |
echo "$VERSION"
echo "$COMMUNITY_BRANCH_NAME"
echo "COMMUNITY_BRANCH_NAME=$COMMUNITY_BRANCH_NAME-$VERSION" >> $GITHUB_ENV
echo "$COMMUNITY_BRANCH_NAME"
- name: validate env
run: |
echo "${{env.VERSION}}
echo "${{env.COMMUNITY_BRANCH_NAME}}
echo "$VERSION"
echo "$COMMUNITY_BRANCH_NAME"
Expand Down

0 comments on commit 7d5659a

Please sign in to comment.