mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
57ed76cd50
测试通过,还原检查
11 lines
324 B
Bash
Executable File
11 lines
324 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# 重新生成badge
|
|
set -o errexit
|
|
|
|
SCRIPTS_DIR=$(cd $(dirname "$0") && pwd)
|
|
BUILD_DIR=$(cd $SCRIPTS_DIR/.. && pwd)/build
|
|
mkdir -p ${BUILD_DIR}/badge
|
|
for catalog in published translated translating sources;do
|
|
${SCRIPTS_DIR}/badge/show_status.sh -s ${catalog} > ${BUILD_DIR}/badge/${catalog}.svg
|
|
done
|