Skip to content

Commit 790a381

Browse files
fix: add debug logs to figure out npm tag issue @W-16974485@
1 parent adbc954 commit 790a381

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/onRelease.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
ref: ${{ github.event.release.tag_name || inputs.tag }}
2323
- uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main
2424
id: distTag
25+
- run: echo "[INFO] tag is=$INPUTS_TAG , version is=$INPUTS_VERSION"
26+
env:
27+
INPUTS_TAG: ${{ steps.distTag.outputs.tag }}
28+
INPUTS_VERSION: ${{ steps.distTag.outputs.version }}
2529

2630
getMajorVersion:
2731
needs: [getDistTag]
@@ -30,8 +34,12 @@ jobs:
3034
runs-on: ubuntu-latest
3135
steps:
3236
- uses: salesforcecli/github-workflows/.github/actions/parse-semver@main
37+
id: parsedVersion
3338
with:
3439
input_string: ${{ needs.getDistTag.outputs.version }}
40+
- run: echo "[INFO] Major version is=$INPUTS_MAJOR_VERSION"
41+
env:
42+
INPUTS_MAJOR_VERSION: ${{ steps.parsedVersion.outputs.major }}
3543

3644
npm:
3745
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main

0 commit comments

Comments
 (0)