Skip to content

Commit

Permalink
Merge pull request #1460 from arturcic/feature/update-examples
Browse files Browse the repository at this point in the history
Update oldTag retrieval in release workflow
  • Loading branch information
arturcic authored Jan 22, 2025
2 parents 89e709a + ad603ee commit 34747fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
# Finding the version from release tag
$newTag = "${{steps.gitversion.outputs.majorMinorPatch}}"
$oldTag = $(git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1)).Trim("v")
$oldTag = cat package.json | ConvertFrom-Json | Select-Object -ExpandProperty version
echo "Old tag: $oldTag"
echo "New tag: $newTag"
Expand Down

0 comments on commit 34747fa

Please sign in to comment.