Skip to content

Commit

Permalink
Fix task version replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimaceOfDespair committed Jan 10, 2025
1 parent f6c8d25 commit 39c5880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
echo "RELEASE_ARGS=" >> $GITHUB_ENV
fi
TASK_JSON=$(jq --arg Major $MAJOR --arg $MINOR --arg ${{ github.run_number }} '.version |= { "Major": $Major | tonumber, "Minor": $Minor | tonumber, "Patch": $Patch | tonumber }' src/SpotCheckV0/task.json) && echo $TASK_JSON > src/SpotCheckV0/task.json
TASK_JSON=$(jq --arg Major $MAJOR --arg Minor $MINOR --arg Patch ${{ github.run_number }} '.version |= { "Major": $Major | tonumber, "Minor": $Minor | tonumber, "Patch": $Patch | tonumber }' src/SpotCheckV0/task.json) && echo $TASK_JSON > src/SpotCheckV0/task.json
echo "EXISTING_RELEASE=$(gh release view ${{ github.ref_name }} --json name --jq '.name' || echo '')" >> $GITHUB_ENV
Expand Down

2 comments on commit 39c5880

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 67.98% 637/937
🔴 Branches 52.25% 174/333
🔴 Functions 59.6% 90/151
🟡 Lines 68.35% 540/790

Test suite run success

20 tests passing in 5 suites.

Report generated by 🧪jest coverage report action from 39c5880

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 67.98% 637/937
🔴 Branches 52.25% 174/333
🔴 Functions 59.6% 90/151
🟡 Lines 68.35% 540/790

Test suite run success

20 tests passing in 5 suites.

Report generated by 🧪jest coverage report action from 39c5880

Please sign in to comment.