Skip to content

Commit

Permalink
Added make_release script
Browse files Browse the repository at this point in the history
  • Loading branch information
wiegerw committed Oct 22, 2021
1 parent e87c0f5 commit 6557ad9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions release/make_release
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# See https://packaging.python.org/tutorials/packaging-projects/

# 1) update the version number in setup.cfg
VERSION=0.12

# 2) preparation
sudo python3 -m pip install --upgrade pip setuptools wheel twine

# 3) create a distribution
cd ..
python3 -m build

# 4) show the distribution
ls dist/gambatools-${VERSION}*

# 5) upload the distribution
#python3 -m twine upload --repository pypi dist/gambatools-${VERSION}*
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = gambatools
version = 0.1
version = 0.12
author = Wieger Wesselink
author_email = j.w.wesselink@tue.nl
description = A library for formal language education. It contains support for DFAs, NFAs, PDAs, Turing machines, context free grammars and regular expressions.
Expand Down

0 comments on commit 6557ad9

Please sign in to comment.