Skip to content

Commit

Permalink
feat(release): auto create release PR (vercel#3453)
Browse files Browse the repository at this point in the history
  • Loading branch information
tknickman authored Jan 24, 2023
1 parent 01e143d commit fc78c3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/turborepo-release-step-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,16 @@ jobs:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

# TODO: probably don't need to upload this once we've verified the snapshots
# Upload published artifacts in case they are needed for debugging later
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: turbo-combined
path: cli/dist

- name: Open Pull Request for release branch
uses: peter-evans/create-pull-request@v4
with:
title: "feat(turborepo): release"
branch: "${{ inputs.release_branch }}"
base: main
4 changes: 1 addition & 3 deletions cli/internal/packagemanager/fixtures/pnpm-patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "turborepo-prune-removes-patched",
"version": "1.0.0",
"packageManager": "[email protected]",
"workspaces": [
"packages/*"
],
"workspaces": ["packages/*"],
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
Expand Down

0 comments on commit fc78c3a

Please sign in to comment.