Skip to content

Commit 0199b29

Browse files
author
Balázs Tápai
committed
chore: create pull request release pipeline
1 parent ed4e8a9 commit 0199b29

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,16 @@ jobs:
4646
shell: bash
4747
run: git config user.email "opensource@thisdot.co" && git config user.name "ThisDot Open-Source"
4848

49+
- name: Create Release pull-request
50+
uses: peter-evans/create-pull-request@v4
51+
with:
52+
title: Release ${{ github.event.inputs.target_project }} as ${{ github.event.inputs.release_as }}
53+
body: Release ${{ github.event.inputs.target_project }} as ${{ github.event.inputs.release_as }}
54+
branch: release/${{ github.event.inputs.target_project }}
55+
base: main
56+
4957
- name: Release a specific project
50-
run: npx nx version ${{ github.event.inputs.target_project }} --releaseAs=${{ github.event.inputs.release_as }} --skipProjectChangelog=true --noVerify=true --preid=rc
58+
run: npx nx version ${{ github.event.inputs.target_project }} --releaseAs=${{ github.event.inputs.release_as }} --skipProjectChangelog=true --noVerify=true --preid=rc --push
5159

5260
- name: Publish to npm
5361
env:

0 commit comments

Comments
 (0)