Skip to content

Commit

Permalink
chore: try to fix the release pipeline 2
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Dec 20, 2022
1 parent f07ebca commit 98316d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ jobs:
- name: Bump version to custom version
if: ${{ github.event.inputs.version == 'custom' && github.event.inputs.custom_version != '' }}
run: yarn version ${{ github.event.inputs.custom_version}} --yes
run: yarn lerna version ${{ github.event.inputs.custom_version}} --force-publish --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "banan23@gmail.com:${{ secrets.GH_TOKEN }}"
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Bump version to ${{ github.event.inputs.version }} version
if: ${{ github.event.inputs.version != 'custom' }}
run: yarn version ${{ github.event.inputs.version}} --yes
run: yarn lerna version ${{ github.event.inputs.version}} --force-publish --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "banan23@gmail.com:${{ secrets.GH_TOKEN }}"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"postinstall": "husky install",
"clean": "lerna run clean",
"build": "lerna run build",
"version": "lerna version",
"publish:prod": "lerna publish from-package --contents dist --force-publish",
"release:prod": "yarn build && yarn publish:prod",
"publish:next": "lerna publish from-package --contents dist --dist-tag next --force-publish",
Expand Down

0 comments on commit 98316d1

Please sign in to comment.