You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
459 B
Bash
17 lines
459 B
Bash
#!/bin/sh
|
|
|
|
export PATH=/usr/local/bin:$PATH
|
|
|
|
# Enter this script's folder
|
|
cd "${0%/*}"
|
|
|
|
now=$(date +'%d.%m.%Y')
|
|
echo "================================================" | tee /dev/stderr
|
|
echo "= Starting metadata update at $now" | tee /dev/stderr
|
|
echo "================================================" | tee /dev/stderr
|
|
|
|
npm run metadata:update:job
|
|
|
|
# Older way through submitting a pull request to github
|
|
# npm run metadata:update:pull-request
|