Skip to content

Commit ca7ffc8

Browse files
committed
Require version
1 parent 655a803 commit ca7ffc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make_release_package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
import os
88
import subprocess
99

10-
package_version = "0.1.1" # todo
11-
1210
project_root_path = os.path.dirname(os.path.realpath(__file__))
1311
parser = argparse.ArgumentParser(description='Create release artifacts.')
1412
parser.add_argument(
1513
'destination', help='Destination folder for the package.', type=Path)
14+
parser.add_argument('version', help='Package version in x.x.x format.', type=str)
1615

1716
args = parser.parse_args()
1817

1918
package_path = Path(args.destination)
19+
package_version = args.version
2020

2121
Path(package_path).mkdir(parents=True, exist_ok=True)
2222

0 commit comments

Comments
 (0)