Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c34df91

Browse filesBrowse files
Merge pull request #158 from theseus-rs/impl-release-plz
chore: implement release-plz
2 parents 92a39e4 + b40713d commit c34df91
Copy full SHA for c34df91

File tree

Expand file treeCollapse file tree

6 files changed

+905
-122
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+905
-122
lines changed

‎.github/release-drafter.yml

Copy file name to clipboardExpand all lines: .github/release-drafter.yml
-69Lines changed: 0 additions & 69 deletions
This file was deleted.

‎.github/workflows/pr-labeler.yml

Copy file name to clipboardExpand all lines: .github/workflows/pr-labeler.yml
-22Lines changed: 0 additions & 22 deletions
This file was deleted.

‎.github/workflows/release-drafter.yml

Copy file name to clipboardExpand all lines: .github/workflows/release-drafter.yml
-31Lines changed: 0 additions & 31 deletions
This file was deleted.

‎.github/workflows/release-plz.yml

Copy file name to clipboard
+53Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Release-plz
2+
3+
permissions:
4+
pull-requests: write
5+
contents: write
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
14+
# Release unpublished packages.
15+
release-plz-release:
16+
name: Release-plz release
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
- name: Install Rust toolchain
24+
uses: dtolnay/rust-toolchain@stable
25+
- name: Run release-plz
26+
uses: release-plz/action@v0.5
27+
with:
28+
command: release
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
32+
33+
# Create a PR with the new versions and changelog, preparing the next release.
34+
release-plz-pr:
35+
name: Release-plz PR
36+
runs-on: ubuntu-latest
37+
concurrency:
38+
group: release-plz-${{ github.ref }}
39+
cancel-in-progress: false
40+
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@v4
43+
with:
44+
fetch-depth: 0
45+
- name: Install Rust toolchain
46+
uses: dtolnay/rust-toolchain@stable
47+
- name: Run release-plz
48+
uses: release-plz/action@v0.5
49+
with:
50+
command: release-pr
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.