Skip to content

Commit

Permalink
test/diff
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Mar 18, 2024
1 parent 03b78db commit b66d41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
revious_commit=$(git log --format=%H -n 2 | tail -n 1)
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=$(git show HEAD:package.json | grep '"version"' | awk -F '"' '{print $4}')
echo "$previous_commit $previous $current"

0 comments on commit b66d41c

Please sign in to comment.