Skip to content

Commit

Permalink
🌀 Add pull strategy to release process
Browse files Browse the repository at this point in the history
  • Loading branch information
kimuraz committed Nov 11, 2020
1 parent a685e48 commit 44a64e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@ jobs:
uses: tyankatsu0105/read-package-version-actions@v1
id: package-version

- name: Set git config
run: git config pull.rebase true

- name: Commit changes
uses: EndBug/add-and-commit@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: ':package: Release v${{ steps.package-version.outputs.version }}'
add: 'dist/* --force'
add: 'dist/*'
branch: 'v${{ steps.package-version.outputs.version }}'
pull_strategy: '--no-rebase'

- name: NPM Release
uses: mikeal/merge-release@master
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ node_modules/*
*.sw*
.idea
.cache
dist
*.log

0 comments on commit 44a64e3

Please sign in to comment.