Skip to content

Commit

Permalink
fix: show that commits are from yesterday
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Dec 26, 2023
1 parent 71c8909 commit c5b9db2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- uses: actions/checkout@v3
- id: env_vars
run: |
COMMITS=$(git log --oneline --since="$(date -u --iso-8601 --date='1 day ago')" | wc -l)
TAG_NAME=$(date -u --iso-8601=date)
TAG_NAME=$(date -u --iso-8601 --date='1 day ago')
COMMITS=$(git log --oneline --since="$TAG_NAME" | wc -l)
RELEASE_NAME="Experimental $TAG_NAME"
echo "commits yesterday: $COMMITS" >> "$GITHUB_STEP_SUMMARY"
echo "commits yesterday ($TAG_NAME): $COMMITS" >> "$GITHUB_STEP_SUMMARY"
echo "count=$COMMITS" >> "$GITHUB_OUTPUT"
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit c5b9db2

Please sign in to comment.