summaryrefslogtreecommitdiff
path: root/build_upload
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-13 00:11:16 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-13 00:11:16 -0600
commitdb4b3736d4f45137a733ce5eb1e50aec968ca1d2 (patch)
treea68b12886c8fbf9952c19a4f3cc7f819a6913bfe /build_upload
parentca643e729e585d4077c0e84de97a020d04bf551a (diff)
update pyssg.xyz site files
Diffstat (limited to 'build_upload')
-rwxr-xr-xbuild_upload13
1 files changed, 13 insertions, 0 deletions
diff --git a/build_upload b/build_upload
new file mode 100755
index 0000000..03e1f68
--- /dev/null
+++ b/build_upload
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# this is supposed to be used from within the package root dir,
+# too lazy to make it more general
+
+echo "building package"
+python -m build
+
+echo "uploading to pypi"
+twine upload dist/*
+
+echo "removing dist/*"
+rm -r dist \ No newline at end of file