Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Oct 21, 2023
1 parent ccfca0e commit c367f5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ jobs:
id: check_version
run: |
NEW_PACKAGE_VERSION=$(node -pe 'require("./package.json").version')
echo "$NEW_PACKAGE_VERSION"
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $latestTag
OLD_PACKAGE_VERSION=$(node -pe 'require("./package.json").version')
echo "$OLD_PACKAGE_VERSION"
if [ $NEW_PACKAGE_VERSION != $OLD_PACKAGE_VERSION ]; then
echo "{version}={$NEW_PACKAGE_VERSION}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c367f5d

Please sign in to comment.