Skip to content

Commit

Permalink
Require version
Browse files Browse the repository at this point in the history
  • Loading branch information
kurapov-peter committed Apr 27, 2021
1 parent 655a803 commit ca7ffc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make_release_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
import os
import subprocess

package_version = "0.1.1" # todo

project_root_path = os.path.dirname(os.path.realpath(__file__))
parser = argparse.ArgumentParser(description='Create release artifacts.')
parser.add_argument(
'destination', help='Destination folder for the package.', type=Path)
parser.add_argument('version', help='Package version in x.x.x format.', type=str)

args = parser.parse_args()

package_path = Path(args.destination)
package_version = args.version

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

Expand Down

0 comments on commit ca7ffc8

Please sign in to comment.