Skip to content

Commit 7f6e2f5

Browse files
author
Balázs Tápai
committed
fix: create pull-request after publish
1 parent 0199b29 commit 7f6e2f5

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ 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-
5749
- name: Release a specific project
5850
run: npx nx version ${{ github.event.inputs.target_project }} --releaseAs=${{ github.event.inputs.release_as }} --skipProjectChangelog=true --noVerify=true --preid=rc --push
5951

@@ -62,6 +54,14 @@ jobs:
6254
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6355
run: npx nx publish ${{ github.event.inputs.target_project }}
6456

57+
- name: Create Release pull-request
58+
uses: peter-evans/create-pull-request@v4
59+
with:
60+
title: Release ${{ github.event.inputs.target_project }} as ${{ github.event.inputs.release_as }}
61+
body: Release ${{ github.event.inputs.target_project }} as ${{ github.event.inputs.release_as }}
62+
branch: release/${{ github.event.inputs.target_project }}
63+
base: main
64+
6565
- name: Push tags to github
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)