Skip to content

Commit

Permalink
remove redundant change
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerFrontegg committed Nov 5, 2024
1 parent ca5edbe commit 44fae90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ jobs:
id: version_type_minor
if: contains(join(github.event.pull_request.labels.*.name, ','), 'Minor')
run: |
return true;
echo "::set-output name=result::true";
- name: Update version in package json
uses: actions/github-script@v6
id: 'update-version'
with:
result-encoding: string
script: |
const { incrementVersion } = await import(`${process.env.GITHUB_WORKSPACE}/.github/scripts/index.js`);
console.log('version_type_minor', ${{ steps.version_type_minor.outputs.result }});
return incrementVersion(${{ steps.version_type_minor.outputs.result }});
- name: Commit Version UP
run: |
Expand Down

0 comments on commit 44fae90

Please sign in to comment.