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 d0d5e15 commit ca5edbe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies and Build Packages
run: |
yarn install
yarn build
# - name: Install Dependencies and Build Packages
# run: |
# yarn install
# yarn build
- name: Git Identity
run: |
git config --global user.name 'frontegg'
Expand All @@ -57,15 +57,15 @@ jobs:
id: version_type_minor
if: contains(join(github.event.pull_request.labels.*.name, ','), 'Minor')
run: |
echo "VERSION_TYPE=minor" >> $GITHUB_ENV
return 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`);
return incrementVersion($VERSION_TYPE === 'minor');
return incrementVersion(${{ steps.version_type_minor.outputs.result }});
- name: Commit Version UP
run: |
yarn update-version
Expand Down

0 comments on commit ca5edbe

Please sign in to comment.