File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 4848 name : Update changelog
4949 runs-on : ubuntu-latest
5050 outputs :
51- changelog_commitish : ${{ steps.get_sha.outputs.commit_sha }}
51+ changelog_commitish : ${{ steps.get_sha.outputs.commit_sha || steps.commit.outputs.commit_long_sha || github.sha }}
5252
5353 steps :
5454 - name : Checkout repository
82828383 message : " chore(release): Update changelog, package.json and manifest.json versions [skip ci]"
8484
85+ - name : Debug commit info
86+ run : |
87+ echo "Commit long SHA: ${{ steps.commit.outputs.commit_long_sha }}"
88+ echo "Current HEAD: $(git rev-parse HEAD)"
89+ echo "Git log (last 2 commits):"
90+ git log --oneline -2
91+
8592 - name : Get commit SHA
8693 id : get_sha
94+ if : steps.commit.outputs.commit_long_sha != ''
8795 run : echo "commit_sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
8896
8997 create_github_release :
You can’t perform that action at this time.
0 commit comments