Skip to content
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

CI builds always "fail" #875

Closed
lmoureaux opened this issue Feb 6, 2022 · 0 comments · Fixed by #876
Closed

CI builds always "fail" #875

lmoureaux opened this issue Feb 6, 2022 · 0 comments · Fixed by #876
Assignees
Labels
bug Something isn't working

Comments

@lmoureaux
Copy link
Contributor

Describe the bug

Since the transition to AutoRevision, every single CI build in my private repo generates a failure message because git is found and it fails to find the correct revision (there is no tag in my repo).

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://github.com/lmoureaux/freeciv21/runs/5080979854?check_suite_focus=true

Expected behavior
The build doesn't rely on the presence of a tag in the repo.

Screenshots

-- Found Git: /usr/bin/git (found version "2.35.1") 
-- git was found and we are in a valid repository. Using git commands.
-- Git HEAD Commit Hash: (hex) ff401 and (dec) 1045505
-- Last tag commit hash: 
fatal: No names found, cannot describe anything.
-- Latest Git Tag: 
CMake Error at CMakeLists.txt:47 (project):
  VERSION "NOTFOUND.NOTFOUND.1045505" format invalid.


-- Configuring incomplete, errors occurred!
@lmoureaux lmoureaux added the bug Something isn't working label Feb 6, 2022
@lmoureaux lmoureaux self-assigned this Feb 6, 2022
lmoureaux added a commit to lmoureaux/freeciv21 that referenced this issue Feb 6, 2022
Every git command can fail, we need to take this into account.

Closes longturn#875.
lmoureaux added a commit that referenced this issue Feb 6, 2022
Every git command can fail, we need to take this into account.

Closes #875.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant