Skip to content

Commit

Permalink
Merge pull request #652 from mavlink/pr-update-server-again
Browse files Browse the repository at this point in the history
Update to MAVSDK v2.2.0
  • Loading branch information
julianoes authored Feb 13, 2024
2 parents 813ec32 + d6d53e6 commit 5245d5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MAVSDK_SERVER_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.1.0
v2.2.0
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,14 @@ def download_mavsdk_server(self):
def version():
process = subprocess.Popen(["git", "describe", "--tags"],
stdout=subprocess.PIPE)
(output, err) = process.communicate()
output, _ = process.communicate()
exit_code = process.wait()
if exit_code != 0:
raise RuntimeError(f"git describe command exited with: {exit_code}")
return output.decode("utf-8").strip()
git_describe_str = output.decode("utf-8").strip()
git_describe_str = git_describe_str.replace("-g", "+g")
print(git_describe_str)
return git_describe_str


setup(
Expand Down

0 comments on commit 5245d5c

Please sign in to comment.