Skip to content

Fix annotated tag commit SHA resolution - #35

Open
bennibyx wants to merge 3 commits into
DuckDuckStudio:mainfrom
bennibyx:fix-annotated-tag-sha
Open

bennibyx wants to merge 3 commits into
DuckDuckStudio:mainfrom
bennibyx:fix-annotated-tag-sha

Conversation

@bennibyx

Copy link
Copy Markdown

Title: Fix annotated tag commit SHA resolution

Description:

Summary

  • Resolve annotated Git tags to their underlying Git objects.
  • Follow nested annotated tags until the target object is reached.
  • Use the SHA only when the resolved object is a commit.

Testing

  • dotnet build src/PinAction/PinAction.csproj succeeds.
  • git diff --check passes.

Automated or targeted tests for annotated tags have not yet been run.

@DuckDuckStudio DuckDuckStudio added the bug 某些功能出错 label Oct 15, 2026
@DuckDuckStudio DuckDuckStudio linked an issue Oct 15, 2026 that may be closed by this pull request
Comment thread src/PinAction/Program.cs
Comment thread src/PinAction/Program.cs Outdated
@DuckDuckStudio DuckDuckStudio added the i18n 国际化/本地化/翻译修改 label Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 某些功能出错 i18n 国际化/本地化/翻译修改

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: 有时候会固定到 tag 哈希而不是提交哈希

2 participants