build: change the fallback version suffix to `+git.{sha}`

Seems to be more commonly used than the current `-commit-{sha}`.
Also cleanup/simplify the version handling code and fix the list
of dependencies in the CI scripts.

Change-Id: Ib119accf51899224eaed1963e7d7e6d71bc0c30b
diff --git a/docs/conf.py b/docs/conf.py
index d4bf63c..dd5c245 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -10,7 +10,7 @@
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
 
 project = 'PSync: Partial/Full Synchronization Protocol for NDN'
-copyright = 'Copyright © 2018-2023 Named Data Networking Project.'
+copyright = 'Copyright © 2018-2024 Named Data Networking Project.'
 author = 'Named Data Networking Project'
 
 # The short X.Y version.