We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22ce11e + 82d0557 commit 4d9f45dCopy full SHA for 4d9f45d
scripts/sdist-sign
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+
3
+R=$1
4
5
+if [ "$R" = "" ]; then
6
+ echo "Usage: sdist-sign 1.2.3"
7
+ exit
8
+fi
9
10
+if [ "$QUBES_GPG_DOMAIN" = "" ]; then
11
+ GPG=gpg
12
+else
13
+ GPG=qubes-gpg-client-wrapper
14
15
16
+python -m build
17
18
+D=dist/emeraldtree-$R.tar.gz
19
20
+$GPG --detach-sign --local-user "Thomas Waldmann" --armor --output "$D.asc" "$D"
scripts/upload-pypi
@@ -0,0 +1,18 @@
+ echo "Usage: upload-pypi 1.2.3 [test]"
+if [ "$2" = "test" ]; then
+ export TWINE_REPOSITORY=testpypi
+ export TWINE_REPOSITORY=pypi
+twine upload --repository=emeraldtree "$D"
0 commit comments