12 lines
321 B
Bash
Executable File
12 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e # Exit on any errors
|
|
|
|
# Get the directory of this script
|
|
# https://stackoverflow.com/questions/59895/getting-the-source-directory-of-a-bash-script-from-within
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
cd "$DIR"
|
|
pip install publish-npm --upgrade --quiet
|
|
publish-npm "$@"
|