Skip to content

Commit

Permalink
feat: remove the next logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Jul 1, 2024
1 parent bab47c4 commit f009296
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next'
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -29,10 +29,6 @@ jobs:
with:
node-version: 20
- run: npm ci
- name: Sync next branch
run: sh sync.sh
env:
GITHUB_TOKEN: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
- run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ module.exports = {
"publishCmd": "./publish.sh ${nextRelease.version} ${nextRelease.type}"
}],
],
branches: ["main", "next"],
branches: ["main"],
};
19 changes: 0 additions & 19 deletions sync.sh

This file was deleted.

0 comments on commit f009296

Please sign in to comment.