We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3381dc2 commit 25a93d4Copy full SHA for 25a93d4
scripts/build_spec.py
@@ -1,6 +1,6 @@
1
#!/usr/bin/env python
2
#
3
-# Copyright (C) 2018 Intel Corporation
+# Copyright (C) 2018-2019 Intel Corporation
4
5
# SPDX-License-Identifier: MIT
6
@@ -29,7 +29,7 @@
29
c = repo.commit(neo_revision)
30
cd = datetime.datetime.fromtimestamp(c.committed_date)
31
32
-pkg_version = "%s.%s.%s" %(str(cd.isocalendar()[0])[-2:], cd.isocalendar()[1], sys.argv[2])
+pkg_version = "%s.%02d.%s" %(str(cd.isocalendar()[0])[-2:], cd.isocalendar()[1], sys.argv[2])
33
34
with open(sys.argv[1], 'r') as f:
35
for line in f.readlines():
0 commit comments