Skip to content

Commit

Permalink
Update predict_version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sameerdhulap authored Nov 26, 2024
1 parent b9addaa commit 31b67da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/predict_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ jobs:
run: |
echo "::error::You have miss to update whatsnew.md with latest changes"
exit 1
- name: 'Update version'
if: ${{ steps.check_pr_labels_major.outputs.passed }} == true
run: |
sed -i "3 s/.*/\t\"version\":\"${{ env.PLUGIN_VERSION }}\",/" package.json
cat package.json
- name: Commit and push changes
if: ${{ steps.check_pr_labels_major.outputs.passed }} == true
Expand Down

0 comments on commit 31b67da

Please sign in to comment.