mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-07-16 09:46:37 +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 "$@"
|