[ci skip] Add upstream scripts
This commit is contained in:
12
scripts/upstream.sh
Normal file
12
scripts/upstream.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
(
|
||||
set -e
|
||||
basedir="$(cd "$1" && pwd -P)"
|
||||
|
||||
(git submodule update --init --remote && git add . && git commit -m 'Upstream Paper') || (
|
||||
echo "Failed to upstream"
|
||||
exit 1
|
||||
) || exit 1
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user