Show More
@@ -110,7 +110,10 b" if __name__ == '__main__':" | |||||
110 | try: |
|
110 | try: | |
111 | tag = sys.argv[1] |
|
111 | tag = sys.argv[1] | |
112 | except IndexError: |
|
112 | except IndexError: | |
113 | tag = sh2('git describe') |
|
113 | try: | |
|
114 | tag = sh2('git describe') | |||
|
115 | except CalledProcessError: | |||
|
116 | tag = "dev" # Fallback | |||
114 |
|
117 | |||
115 | try: |
|
118 | try: | |
116 | desc = sys.argv[2] |
|
119 | desc = sys.argv[2] |
General Comments 0
You need to be logged in to leave comments.
Login now