Skip to content

Comments

[AURON-1245][FOLLOWUP] Restore commit hash in artifact name using git rev-parse#1246

Merged
cxzl25 merged 3 commits intoapache:masterfrom
work-space-station:restore-commit-hash
Sep 1, 2025
Merged

[AURON-1245][FOLLOWUP] Restore commit hash in artifact name using git rev-parse#1246
cxzl25 merged 3 commits intoapache:masterfrom
work-space-station:restore-commit-hash

Conversation

@merrily01
Copy link
Member

Which issue does this PR close?

Closes #1245.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

How was this patch tested?

@merrily01 merrily01 marked this pull request as ready for review August 29, 2025 09:31
@merrily01 merrily01 force-pushed the restore-commit-hash branch from d9c3fc7 to 993a275 Compare August 29, 2025 09:38
@merrily01 merrily01 changed the title [AURON1245][FOLLOWUP] Restore commit hash in artifact name using git rev-parse [AURON-1245][FOLLOWUP] Restore commit hash in artifact name using git rev-parse Aug 29, 2025
@merrily01 merrily01 marked this pull request as draft August 29, 2025 09:55
Copy link
Contributor

@cxzl25 cxzl25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@turboFei
Copy link
Member

add it for arm build as well?

@merrily01
Copy link
Member Author

add it for arm build as well?

Thanks for reminding, it has been also added to arm build.

CI passed and ready for review :

ce7 - https://github.com/apache/auron/actions/runs/17368783500

arm - https://github.com/apache/auron/actions/runs/17368783487

@merrily01 merrily01 marked this pull request as ready for review September 1, 2025 06:52
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that during the GA Docker build, the printed commit id comes from the merge commit generated by GitHub Actions, rather than the original commit that actually triggered the workflow. I'm trying to use the original commit ID here, so that the printed commit id matches the real source commit instead of the merge commit

@cxzl25 cxzl25 merged commit 84936b2 into apache:master Sep 1, 2025
83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore commit hash in artifact name using git rev-parse

3 participants