Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Sep 20, 2023
1 parent 80b613e commit 995f415
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ jobs:
steps:
- name: Extract branch name
run: |
prefix="release-"
echo "---"
echo $GITHUB_REF
echo ${GITHUB_REF##*/}
branch=${GITHUB_REF##*/}
echo ${branch#"release-"}
echo "---"
echo 'RELEASE_BRANCH_NAME=v${GITHUB_REF##*/}#"$prefix"' >> $GITHUB_ENV
echo 'RELEASE_BRANCH_NAME=${GITHUB_REF##*/} >> $GITHUB_ENV
echo $RELEASE_BRANCH_NAME
- name: Extract version from the branch name
run: |
echo "VERSION=v${#release-}" >> $GITHUB_ENV
echo "VERSION=v${RELEASE_BRANCH_NAME#"release-"}" >> $GITHUB_ENV
echo $VERSION
# - name: Configure git for private modules
# env:
Expand Down

0 comments on commit 995f415

Please sign in to comment.