Skip to content

Commit

Permalink
Add build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxc committed Jul 9, 2022
1 parent 78ca4ee commit a358bc2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
1 change: 1 addition & 0 deletions current_version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.1
20 changes: 20 additions & 0 deletions make_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

echo "Starting releasebuild! Last release in main branch was:"
cat current_version.txt
echo ""
echo "Which version shall next release be?"
read new_ver

echo $new_ver > current_version.txt
echo "version = \""$new_ver"\"" >> pyproject.toml

rm dist/*

python3 -m build

echo "Please enter token for upload to PyPi"
read -s PyPi_token
echo

twine upload dist/* -u __token__ -p $PyPi_token
13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
requires = ["hatchling"]
build-backend = "hatchling.build"

[project.urls]
"Homepage" = "https://github.com/Jaxc/PyStageLinQ"
"Bug Tracker" = "https://github.com/Jaxc/PyStageLinQ/issues"
"Documentation" = "https://pystagelinq.readthedocs.io/en/latest/"
"Funding" = "https://ko-fi.com/jaxcie"

[project]
name = "PyStageLinQ"
version = "0.1.0"
authors = [
{ email="[email protected]" },
]
Expand All @@ -19,9 +24,3 @@ classifiers = [
"Programming Language :: Python :: 3.10",
]
keywords = ["StageLinQ", "DJ", "VJ", "Denon DJ", "Prime Go", "Streaming"]

[project.urls]
"Homepage" = "https://github.com/Jaxc/PyStageLinQ"
"Bug Tracker" = "https://github.com/Jaxc/PyStageLinQ/issues"
"Documentation" = "https://pystagelinq.readthedocs.io/en/latest/"
"Funding" = "https://ko-fi.com/jaxcie"

0 comments on commit a358bc2

Please sign in to comment.