Skip to content

Commit

Permalink
chore(cli): update plugin template tauri-apps/create-pull-request
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Jun 19, 2022
1 parent 307c2eb commit 07f9079
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .changes/fix-cli-plugin-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Update plugin templates to use newer `tauri-apps/create-pull-request` GitHub action.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
createRelease: true
- name: create pull request
id: cpr
uses: tauri-apps/create-pull-request@v2.8.0
- name: Create Pull Request With Versions Bumped
if: steps.covector.outputs.commandRan == 'version'
uses: tauri-apps/create-pull-request@v3.4.1
with:
title: "Publish New Versions"
token: ${{ secrets.GITHUB_TOKEN }}
branch: release/version-updates
title: Apply Version Updates From Current Changes
commit-message: "apply version updates"
labels: "version updates"
branch: "release"
body: ${{ steps.covector.outputs.change }}

{{{{/raw}}}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
createRelease: true
- name: create pull request
id: cpr
uses: tauri-apps/create-pull-request@v2.8.0
- name: Create Pull Request With Versions Bumped
if: steps.covector.outputs.commandRan == 'version'
uses: tauri-apps/create-pull-request@v3.4.1
with:
title: "Publish New Versions"
token: ${{ secrets.GITHUB_TOKEN }}
branch: release/version-updates
title: Apply Version Updates From Current Changes
commit-message: "apply version updates"
labels: "version updates"
branch: "release"
body: ${{ steps.covector.outputs.change }}

{{{{/raw}}}}

0 comments on commit 07f9079

Please sign in to comment.