mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-05-30 23:44:03 +08:00
15 lines
310 B
Bash
Executable file
15 lines
310 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
. $(dirname $0)/prelude.bash
|
|
|
|
TMPDIR=${TMPDIR:-/tmp}
|
|
|
|
function main () {
|
|
plugins=$(mktemp $TMPDIR/plugins.XXXXXXXX.jsonl)
|
|
trap "rm -f $plugins" EXIT
|
|
|
|
bin/console sync:dump:git-updater-list etc/git-updater-plugins.list > $plugins
|
|
cat $plugins | bin/push-to-aspirecloud
|
|
}
|
|
|
|
main "$@"
|