Skip to content

Commit

Permalink
fix: bump issue CI
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed May 31, 2023
1 parent e1e36e2 commit a9f489a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ jobs:
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
- name: Create bump and changelog main
if: github.ref == 'refs/heads/main'
run: pnpm dlx capacitor-plugin-standard-version@latest --dry-run --verbose
- name: Create bump and changelog development
if: github.ref != 'refs/heads/main'
run: pnpm dlx capacitor-plugin-standard-version@latest --prerelease alpha --dry-run --verbose
- name: Update Doc
run: pnpm docgen
- name: Update Doc
Expand All @@ -46,7 +40,13 @@ jobs:
run: |
git add README.md
git add api.md
git commit --amend --no-edit
git commit --m "docs: update doc"
- name: Create bump and changelog main
if: github.ref == 'refs/heads/main'
run: pnpm dlx capacitor-plugin-standard-version@latest
- name: Create bump and changelog development
if: github.ref != 'refs/heads/main'
run: pnpm dlx capacitor-plugin-standard-version@latest --prerelease alpha
- name: Push to origin
run: |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
Expand Down

0 comments on commit a9f489a

Please sign in to comment.