File: build_and_publish.sh

package info (click to toggle)
pyroon 0.1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 1,660; sh: 135; makefile: 4
file content (20 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
set -euf -o pipefail

SELF_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
PUBLISH_PASSWORD="$1"

source "$SELF_DIR/common.sh"

assertPython

"$SELF_DIR/build.sh"

echo
echo "===Settting up venv==="
enterVenv


echo
echo "===Publishing package==="
poetry publish --username __token__ --password "$PUBLISH_PASSWORD"