Skip to content

Commit

Permalink
test/diff version
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Mar 18, 2024
1 parent 4f9eaa1 commit 36c9acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
node-version: 20
- id: version
run: |
previous_commit=$(git log --format=%H -n 1 HEAD^)
previous_commit=$(git log --format=%H -n 1 HEAD~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 $current"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@choewy/nestjs-redis",
"version": "0.0.2",
"version": "0.0.1",
"description": "NestJS Redis",
"main": "dist/libs/index.js",
"license": "MIT",
Expand Down

0 comments on commit 36c9acf

Please sign in to comment.