Skip to content

Commit

Permalink
fix/diff version
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Mar 18, 2024
1 parent 0b34660 commit 1b3a8d3
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=$(git show HEAD^:package.json | grep '"version"' | awk -F '"' '{print $4}')
previous=$(git show master:package.json | grep '"version"' | awk -F '"' '{print $4}')
current=$(git show HEAD:package.json | grep '"version"' | awk -F '"' '{print $4}')
echo "::set-output name=previous::v$previous"
echo "::set-output name=current::v$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 1b3a8d3

Please sign in to comment.