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

Software version not recognised if the project folder was downloaded as ZIP file instead of git clone #71

Closed
timkondratev opened this issue Feb 25, 2020 · 1 comment
Labels
bug Something isn't working server Server side

Comments

@timkondratev
Copy link
Member

The bug description
In drone list the version column highlights yellow.

The server gives error:
subprocess.CalledProcessError: Command 'git log --pretty=format:'%h' -n 1' returned non-zero exit status 128.

Steps to reproduce the behavior

  1. Go to 'https://github.com/CopterExpress/clever-show/tree/qt-gui-update'
  2. Click on 'Clone or download'
  3. Download ZIP
  4. Run server
  5. Run drone with latest software of the same branch
  6. See error: subprocess.CalledProcessError: Command 'git log --pretty=format:'%h' -n 1' returned non-zero exit status 128.

Expected behavior
No error and green version cell.

Version
6b16499

@timkondratev timkondratev added the bug Something isn't working label Feb 25, 2020
@artem30801 artem30801 added the server Server side label Feb 25, 2020
artem30801 added a commit that referenced this issue Feb 25, 2020
@artem30801
Copy link
Collaborator

Closing for now, in future we're going to release executable files of server with info of current server git version

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

No branches or pull requests

2 participants