Skip to content

Commit

Permalink
Fixed beta pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
ffrank913 committed Nov 29, 2024
1 parent 3b7803e commit e6abd24
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,17 @@ jobs:
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn

- name: Register Git User
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Bump to Beta Version
- name: 'Automated Version Bump (Beta)'
uses: 'phips28/gh-action-bump-version@master'
env:
PR_NUMBER: ${{ github.event.pull_request.number || 'workflow_dispatch' }}
run: |
yarn version --prerelease --preid beta
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USER: 'DIVE[bot]'
GITHUB_EMAIL: '[email protected]'
with:
target-branch: 'trunk'
commit-message: 'DIVE[bot]: Beta {{version}} [pre-beta] [skip ci]'
skip-push: 'true'
skip-tag: 'true'

- name: 'Create beta branch'
run: git checkout -b beta/v$(node -p "require('./package.json').version")
Expand Down

0 comments on commit e6abd24

Please sign in to comment.