File: release

package info (click to toggle)
flatlatex 0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 152 kB
  • sloc: python: 1,470; sh: 17; makefile: 6
file content (16 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

if ! [[ -f release ]]
then
    echo "Must be run in ." >&2
    exit 11
fi

if ! py.test
then
    exit 13
fi

rm -rf dist/
python3 setup.py sdist bdist_wheel
twine upload --sign dist/*