Skip to content

Commit

Permalink
ci(general): commit bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
andreszorro committed Mar 11, 2024
1 parent 6c23c47 commit f134c7d
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ jobs:
- name: Bump version
run: scripts/bump-version.sh
if: startsWith(github.ref, 'refs/tags/')
- name: Update package.json
uses: stefanzweifel/git-auto-commit-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
commit_message: "[skip-ci]: Bump version"
commit_options: '--no-verify --signoff'
branch: ${{ contains(github.ref, '-beta') && 'develop' || 'main' }}
file_pattern: 'package.json'
repository: .
commit_user_name: GitHub Actions Bot # defaults to "github-actions[bot]"
status_options: '--untracked-files=no'
# add_options: '-u'
push_options: '--force'
skip_dirty_check: true
skip_fetch: true
skip_checkout: true
disable_globbing: true
create_branch: false
build:
needs: bumpVersion
name: build-${{matrix.name}}
Expand Down Expand Up @@ -104,9 +122,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
path: ./dist
- name: Update install.sh file
run: scripts/release.sh
if: startsWith(github.ref, 'refs/tags/')
- name: Create Release Draft
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -124,7 +139,7 @@ jobs:
commit_message: "[skip-ci]: Updated install script"
commit_options: '--no-verify --signoff'
branch: ${{ contains(github.ref, '-beta') && 'develop' || 'main' }}
file_pattern: 'docs/** package.json'
file_pattern: 'docs/**'
repository: .
commit_user_name: GitHub Actions Bot # defaults to "github-actions[bot]"
status_options: '--untracked-files=no'
Expand Down

0 comments on commit f134c7d

Please sign in to comment.