File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,17 @@ jobs:
2121 with :
2222 repo-token : ${{ secrets.CI_GITHUB_TOKEN }}
2323 - name : Determine release tag and release branch
24+ env :
25+ BRANCH_NAME : ${{ steps.vars.outputs.branch }}
2426 run : |
25- TAG=$(echo "${{ steps.vars.outputs.branch } }" | grep -Eo '[0-9]+.[0-9]+.[0-9]+')
26- echo "PLUGIN_VERSION=$TAG" >> $GITHUB_ENV
27+ TAG=$(echo "${BRANCH_NAME }" | grep -Eo '[0-9]+.[0-9]+.[0-9]+')
28+ echo "PLUGIN_VERSION=$TAG" >> $GITHUB_ENV
2729 - name : run script
28- run : bash .github/bash_scripts/release.sh ${{env.PLUGIN_VERSION}}
30+ run : bash .github/bash_scripts/release.sh ${{env.PLUGIN_VERSION}}
2931 - name : Commit and Push
32+ env :
33+ BRANCH_NAME : ${{ steps.vars.outputs.branch }}
3034 run : |
3135 git add .
3236 git commit -m"Commited from github action - prepaing the repo for production."
33- git push origin HEAD:${{ steps.vars.outputs.branch } } --force
37+ git push origin HEAD:${BRANCH_NAME } --force
You can’t perform that action at this time.
0 commit comments