File: release.sh

package info (click to toggle)
python-restructuredtext-lint 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 309; sh: 25; makefile: 14
file content (15 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
# Exit on first error
set -e

# Install our dependencies
npm install foundry@~4.3.2 foundry-release-git@~2.0.2 foundry-release-pypi@~3.0.0

# Remove all `.pyc` files
shopt -s globstar
rm **/*.pyc || true
shopt -u globstar

# Run foundry release with an adjusted PATH
PATH="$PATH:$PWD/node_modules/.bin/"
foundry release $*