Skip to content

Commit

Permalink
Merge pull request #73 from bnb-chain/cicd
Browse files Browse the repository at this point in the history
chore: Update cicd
  • Loading branch information
Halibao-Lala authored Oct 29, 2024
2 parents 2fa9b3a + c6586e3 commit b245ace
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- alpha

paths:
- .github/**
Expand Down Expand Up @@ -39,20 +38,10 @@ jobs:
run: |
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
- name: Enter pre mode
if: steps.get-branch.outputs.branch == 'alpha'
run: |
pnpm ci:enter
- name: Exit pre mode
if: steps.get-branch.outputs.branch == 'main'
run: |
pnpm ci:exit
- name: Create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
version: pnpm ci:stable-version
publish: pnpm ci:publish
commit: 'chore: Update versions'
title: 'chore: Update versions'
Expand Down

0 comments on commit b245ace

Please sign in to comment.