Skip to content

Commit 5a0be94

Browse files
Update preview-and-release.yml
1 parent 3cec4cb commit 5a0be94

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/preview-and-release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,16 @@ jobs:
7373
steps:
7474
- uses: actions/checkout@v2
7575
- name: Get Version
76+
id: GetVersion
7677
run: .\Scripts\getLatestVersion.ps1
77-
shell: pwsh
78+
shell: pwsh
7879
- name: Create tag
7980
uses: rickstaa/[email protected]
8081
with:
81-
tag: "v$RELEASE_TAG"
82+
tag: ${{ steps.GetVersion.outputs.tag }}
83+
- name: Queue Git Release
84+
uses: benc-uk/workflow-dispatch@v1
85+
with:
86+
workflow: Git Release
87+
token: ${{ secrets.PERSONAL_TOKEN }}
88+
ref: ${{ steps.GetVersion.outputs.tag }}

0 commit comments

Comments
 (0)