8000 ci: fetch annotated tags during release/build-dylib by ethanndickson · Pull Request #15738 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

ci: fetch annotated tags during release/build-dylib #15738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

ethanndickson
Copy link
Member
@ethanndickson ethanndickson commented Dec 4, 2024

The release action ran into an issue building the dylib today, as the version script that's run during the build job was unable to find an annotated tag. This is a step it skips during dry-runs.

ERROR: version.sh: the current commit is not tagged with an annotated tag

This was almost certainly caused by omitting the git fetch --tags --force that's present on each other release action job, as the workflow passes on a release dry-run when run against a regular branch, that's not an annotated tag.

From an existing comment:

If the event that triggered the build was an annotated tag (which our
tags are supposed to be), actions/checkout has a bug where the tag in
question is only a lightweight tag and not a full annotated tag.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson changed the title fix(ci): fetch annotated tags during release/build-dylib ci: fetch annotated tags during release/build-dylib Dec 4, 2024
@ethanndickson ethanndickson marked this pull request as ready for review December 4, 2024 00:15
@ethanndickson ethanndickson requested review from sreya and stirby December 4, 2024 00:15
@ethanndickson ethanndickson merged commit 887ea14 into main Dec 4, 2024
48 checks passed
@ethanndickson ethanndickson deleted the ethan/fix-release-dylib branch December 4, 2024 08:09
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.

2 participants
0