-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
git describe --abbrev=0 shows wrong tag #272
Comments
It would seem checkout/src/git-command-manager.ts Lines 171 to 175 in fb6f360
|
I failed at reading thoroughly. It seems this issue has already been addressed. I recommend using the suggestion in the readme. |
Did you looked in my first post ? For me it looks like a bug |
Still shows wrong tag with https://github.com/hannesa2/owncloud-android/pull/5/checks?check_run_id=825271697 It shows me |
sounds related to #290 |
Le problème est décrit dans deux tickets: actions/checkout#272 actions/checkout#290
I have found a workaround: if you use I've done some experimentation but I have absolutely no idea why this workaround works. Interested parties can check cwi-dis/cwipc#21 for the details. |
Thank you. If I run into it again, I will reopen it. |
"./build/release_notes" that does "git describe --abbrev=0" was not seeing the correct tag when run in GitHub Actions so the release notes had to be manually corrected on releases, hopefully this solves that Found this tip at actions/checkout#272 (comment) Seems related to actions/checkout#290
Seems like an issue with the checkout action: actions/checkout#290 Found this tip at actions/checkout#272 (comment) [ci skip]
Edit: For people coming here from Google: make sure to update to v4. |
Something looks wrong with
git describe --abbrev=0
I use thisand I even do a
git fetch --all
Please see hereto grab latest git tag. This is an example with wrong output
Local on my machine I see with
git tag -n
but on Github CI
Local on my machine I see with
git log --oneline
on Github CI the output is this. At least the current commit is right 👍
Local on my machine I see with
git describe --abbrev=0
on Github CI the output is this
I verify the same command with Travis, and there it looks (expected) like my local machine.
Has someone an idea what's wrong here ?
The text was updated successfully, but these errors were encountered: