mirror of
https://github.com/tauri-apps/cef-rs.git
synced 2026-01-31 00:55:21 +01:00
chore: release-plz workflow
This commit is contained in:
7
.github/dependabot.yml
vendored
Normal file
7
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
# Check for updates every Monday
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
1
.github/workflows/get-latest.yml
vendored
1
.github/workflows/get-latest.yml
vendored
@@ -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
.github/workflows/release-plz.yml
vendored
Normal file
59
.github/workflows/release-plz.yml
vendored
Normal 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
CHANGELOG.md
16
CHANGELOG.md
@@ -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
release-plz.toml
Normal file
2
release-plz.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[workspace]
|
||||
repo_url = "https://github.com/tauri-apps/cef-rs"
|
||||
Reference in New Issue
Block a user