File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1414 with :
1515 fetch-depth : 0
1616 - name : Update major version branch
17+ env :
18+ RELEASE_TAG : ${{ github.event.release.tag_name }}
1719 run : |
18- tag=${{ github.event.release.tag_name }}
19- branch=${tag%%.*}
20+ branch=${RELEASE_TAG%%.*}
2021 git push origin HEAD:$branch
Original file line number Diff line number Diff line change 2929 id : ibmcloud
3030 uses : ./
3131 - name : Check version output is set correctly
32+ env :
33+ IBMCLOUD_CLI_VERSION : ${{ steps.ibmcloud.outputs.version }}
3234 run : |
3335 actual_version="$(ibmcloud --version)"
34- expected_version="ibmcloud ${{ steps.ibmcloud.outputs.version }} "
36+ expected_version="ibmcloud $IBMCLOUD_CLI_VERSION ( "
3537 echo "Actual version: $actual_version"
3638 echo "Expected version: $expected_version*"
3739 [[ "$actual_version" == "$expected_version"* ]]
@@ -313,7 +315,7 @@ jobs:
313315 uses : actions/setup-node@v6
314316 with :
315317 node-version : 24
316- cache : npm
318+ package-manager- cache : false
317319 - run : npm ci
318320 - run : npm run package
319321 - name : Check dist directory is up to date
You can’t perform that action at this time.
0 commit comments