Skip to content

Commit

Permalink
add build time in test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkgo committed Feb 29, 2024
1 parent 826c998 commit 5b8c9a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ add_repo dl-cdn.alpinelinux.org
bt=$(date +"%Y-%m-%d %H:%M:%S %Z")
sed -i "s/{bulidtime}/$bt/g" /src/init.sh
sed -i "s/{bulidtime}/$bt/g" /src/debug.sh
sed -i "s/{bulidtime}/$bt/g" /src/test.sh

#clean
chmod +x /src/*.sh
Expand Down
1 change: 1 addition & 0 deletions src/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ v4check() {
fi
}
blank
echo images build time : {bulidtime}
echo "-> test start \`$(date +%s)\`"
echo "\`\`\`rust"
if [ -w /data ]; then
Expand Down

0 comments on commit 5b8c9a9

Please sign in to comment.