diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-10-06 10:23:54 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <znz@users.noreply.github.com> | 2020-10-06 11:41:17 +0900 |
commit | f9df340a6ac8d7f5ba0994cf2bd5d14e4c7a563f (patch) | |
tree | 4e380cc6ea1a2c39f669ad46cf826cea279b1847 /tool | |
parent | 68d24bc04549f04f0bbc40121c115fbbb7caf716 (diff) |
Remove unused commit_info
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3630
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/actions-commit-info.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tool/actions-commit-info.sh b/tool/actions-commit-info.sh deleted file mode 100755 index 56f857c1d9..0000000000 --- a/tool/actions-commit-info.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -set -euo pipefail -cd $(dirname "$0")/.. -set_output () { - echo "$1=$2" - echo "::set-output name=$1::$2" -} -COMMIT_TIMESTAMP="$(git log -1 --format=%ct)" -set_output "COMMIT_TIMESTAMP" "$COMMIT_TIMESTAMP" -LOGS=$(TZ=UTC git log --since='0:00' --date=iso-local --format='%cd %s') -echo "commits of today:" -echo "$LOGS" -COUNT=$(echo "$LOGS" | wc -l) -# strip spaces -COUNT=$((0 + COUNT)) -set_output "COMMIT_NUMBER_OF_DAY" "$COUNT" -set_output "COMMIT_DATE" "$(TZ=UTC git log --since='0:00' --date=short-local --format=%cd -1)" |