Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
fix: rebaseをつける
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Apr 11, 2024
1 parent 112c59a commit e699e25
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ jobs:
run: |
NPM_NEW_VERSION=$(node -e "console.log(require('./package.json').version)")
printf "NPM_NEW_VERSION=%s" "$NPM_NEW_VERSION" >> $GITHUB_ENV
- name: Rebase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git rebase ${{ github.event.pull_request.base.ref }}

- name: Update Version
if: ${{ env.NPM_VERSION >= env.NPM_NEW_VERSION }}
run: |
Expand Down Expand Up @@ -65,6 +70,11 @@ jobs:
NPM_NEW_VERSION=$(node -e "console.log(require('./package.json').version)")
printf "NPM_NEW_VERSION=%s" "$NPM_NEW_VERSION" >> $GITHUB_ENV
- name: Rebase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git rebase ${{ github.event.pull_request.base.ref }}

- name: Update Version
if: ${{ env.NPM_VERSION >= env.NPM_NEW_VERSION }}
run: |
Expand Down Expand Up @@ -101,6 +111,11 @@ jobs:
run: |
NPM_NEW_VERSION=$(node -e "console.log(require('./package.json').version)")
printf "NPM_NEW_VERSION=%s" "$NPM_NEW_VERSION" >> $GITHUB_ENV
- name: Rebase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git rebase ${{ github.event.pull_request.base.ref }}

- name: Update Version
if: ${{ env.NPM_VERSION >= env.NPM_NEW_VERSION }}
Expand Down

0 comments on commit e699e25

Please sign in to comment.