File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929
3030 - name : Extract Major.Minor Version and setup Env variable
3131 run : |
32- echo " VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
33- echo "MAJOR_MINOR=$(echo ${{ github.event.inputs.version }} | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')" >> $GITHUB_ENV
32+ # VERSION already set at top level
33+ echo "MAJOR_MINOR=$(echo ${{ env.VERSION }} | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')" >> $GITHUB_ENV
3434
3535 - name : Get current major.minor version from main branch
3636 id : get_version
8787
8888 - name : Extract Major.Minor Version and setup Env variable
8989 run : |
90- echo " VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
91- echo "MAJOR_MINOR=$(echo ${{ github.event.inputs.version }} | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')" >> $GITHUB_ENV
90+ # VERSION already set at top level
91+ echo "MAJOR_MINOR=$(echo ${{ env.VERSION }} | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')" >> $GITHUB_ENV
9292
9393 - name : Determine release branch and checkout
9494 run : |
Original file line number Diff line number Diff line change 5454
5555 - name : Extract Major.Minor Version and setup Env variable
5656 run : |
57- echo " VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
58- echo "MAJOR_MINOR=$(echo ${{ github.event.inputs.version }} | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')" >> $GITHUB_ENV
57+ # VERSION already set at top level
58+ echo "MAJOR_MINOR=$(echo ${{ env.VERSION }} | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')" >> $GITHUB_ENV
5959
6060 - name : Create branches
6161 run : |
You can’t perform that action at this time.
0 commit comments