Skip to content

Commit

Permalink
[Releases] prevent problems with lots of branches by releasing only o…
Browse files Browse the repository at this point in the history
…n main (#427)

Closes DG-140

## What changed? Why?
Semantic release needs branches to be between 1 & 3 branches and before
it was configured to be _every_ branch. I think I can get away with just
main here?
  • Loading branch information
dgattey authored Dec 30, 2023
1 parent 267513e commit 480f5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
node-version-file: .node-version
cache: 'pnpm'
- run: pnpm install
- name: Print new version
- name: Dry run release onto main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm turbo release -- --dry-run --branches="*"
run: pnpm turbo release -- --dry-run --branches="main, ${{ github.ref_name }}"

release:
timeout-minutes: 5
Expand Down

1 comment on commit 480f5fa

@vercel
Copy link

@vercel vercel bot commented on 480f5fa Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dg – ./

dg-dgattey.vercel.app
dg.vercel.app
dg-git-main-dgattey.vercel.app
dylangattey.com

Please sign in to comment.