Skip to content

Commit

Permalink
test/diff commit
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Mar 18, 2024
1 parent b66d41c commit d18affd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ jobs:
- run: |
previous_commit=$(git log --format=%H -n 2 | tail -n 1)
previous=$(git show $previous_commit:package.json | grep '"version"' | awk -F '"' '{print $4}')
current_commit=$(git log --format=%H -n 1)
current=$(git show HEAD:package.json | grep '"version"' | awk -F '"' '{print $4}')
echo "$previous_commit $previous $current"

0 comments on commit d18affd

Please sign in to comment.