Skip to content

Commit

Permalink
modify release workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanpe authored Feb 8, 2021
1 parent 26476fd commit f0c7d2d
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,17 @@ jobs:
run: brew install fastlane
- name: bump version
run: fastlane bump_version next_version:${{ github.event.inputs.release_version }}

commit_changes:
needs: bump_pod_version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: 'main'
commit_message: 'Bump version ${{ github.event.inputs.release_version }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: 'main'
commit_message: 'Bump version ${{ github.event.inputs.release_version }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

create_release:
runs-on: ubuntu-latest
needs: commit_changes
needs: bump_pod_version
steps:
- uses: actions/checkout@v2
- name: publish release
Expand Down

0 comments on commit f0c7d2d

Please sign in to comment.