chore: release-plz workflow

This commit is contained in:
Bill Avery committed 2025-07-12 19:54:12 -07:00
1 parent aacabf2ce5
commit cbc2283392
5 files changed
+69 -16

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
# Check for updates every Monday
schedule:
interval: "weekly"
+1
View File
@@ -6,6 +6,7 @@ on:
jobs:
get-latest:
if: ${{ github.repository_owner == 'tauri-apps' }}
runs-on: ubuntu-latest
outputs:
updated: ${{ steps.push-changes.outputs.updated }}
+59
View File
@@ -0,0 +1,59 @@
name: Release
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- dev
jobs:
# Release unpublished packages.
release-plz-release:
name: Release-plz release
if: ${{ github.repository_owner == 'tauri-apps' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.ORG_CRATES_IO_TOKEN }}
# Create a PR with the new versions and changelog, preparing the next release.
release-plz-pr:
name: Release-plz PR
if: ${{ github.repository_owner == 'tauri-apps' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.ORG_CRATES_IO_TOKEN }}
-16
View File
@@ -1,16 +0,0 @@
# cef-rs changelog
- Update crate documentation.
- Add `run_message_loop` adn `shutdown`
## 117.2.6
- Add more manifest to Cargo.toml
## 117.2.5
- Update to cef v117.2.5
## 0.1.2
- feat: Send/Sync trait bound for binding traits
+2
View File
@@ -0,0 +1,2 @@
[workspace]
repo_url = "https://github.com/tauri-apps/cef-rs"