mirror of
https://github.com/xodio/xod.git
synced 2026-03-03 07:24:03 +01:00
To automate this https://github.com/xodio/xod/wiki/Releasing-a-New-Version#update-xod-libraries part of the release process.
12 lines
327 B
Bash
Executable File
12 lines
327 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
: "${XOD_USERNAME:?Set XOD_USERNAME env variable}"
|
|
: "${XOD_PASSWORD:?Set XOD_PASSWORD env variable}"
|
|
|
|
for path_to_libs_group in ./workspace/__lib__/xod*; do
|
|
username="$(basename -- $path_to_libs_group)"
|
|
ls -d $path_to_libs_group/* | xargs -I {} yarn xodc publish --on-behalf=$username {}
|
|
done
|