File tree Expand file tree Collapse file tree 6 files changed +57
-0
lines changed Expand file tree Collapse file tree 6 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release-plz
2
+
3
+ permissions :
4
+ pull-requests : write
5
+ contents : write
6
+
7
+ on :
8
+ push : { branches: [master] }
9
+
10
+ jobs :
11
+ # Release unpublished packages.
12
+ release-plz-release :
13
+ name : Release-plz release
14
+ runs-on : ubuntu-24.04
15
+ if : ${{ github.repository_owner == 'rust-lang' }}
16
+ steps :
17
+ - name : Checkout repository
18
+ uses : actions/checkout@v4
19
+ with :
20
+ fetch-depth : 0
21
+ - name : Install Rust toolchain
22
+ run : rustup update stable --no-self-update && rustup default stable
23
+ - name : Run release-plz
24
+ uses : release-plz/action@v0.5
25
+ with :
26
+ command : release
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
30
+
31
+ # Create a PR with the new versions and changelog, preparing the next release.
32
+ release-plz-pr :
33
+ name : Release-plz PR
34
+ runs-on : ubuntu-24.04
35
+ if : ${{ github.repository_owner == 'rust-lang' }}
36
+ concurrency :
37
+ group : release-plz-${{ github.ref }}
38
+ cancel-in-progress : false
39
+ steps :
40
+ - name : Checkout repository
41
+ uses : actions/checkout@v4
42
+ with :
43
+ fetch-depth : 0
44
+ - name : Install Rust toolchain
45
+ run : rustup update stable --no-self-update && rustup default stable
46
+ - name : Run release-plz
47
+ uses : release-plz/action@v0.5
48
+ with :
49
+ command : release-pr
50
+ env :
51
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" Nick Fitzgerald <fitzgen@gmail.com>" ]
5
5
edition = " 2021"
6
6
build = " build.rs"
7
+ publish = false
7
8
8
9
[build-dependencies ]
9
10
cc = " 1.0"
Original file line number Diff line number Diff line change 2
2
name = " debuglink"
3
3
version = " 0.1.0"
4
4
edition = " 2021"
5
+ publish = false
5
6
6
7
[dependencies ]
7
8
backtrace = { path = " ../.." }
Original file line number Diff line number Diff line change 2
2
name = " line-tables-only"
3
3
version = " 0.1.0"
4
4
edition = " 2021"
5
+ publish = false
5
6
6
7
[build-dependencies ]
7
8
cc = " 1.0"
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name = "macos_frames_test"
3
3
version = " 0.1.0"
4
4
authors = [" Aaron Hill <aa1ronham@gmail.com>" ]
5
5
edition = " 2021"
6
+ publish = false
6
7
7
8
[dependencies .backtrace ]
8
9
path = " ../.."
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name = "without_debuginfo"
3
3
version = " 0.1.0"
4
4
authors = [" Alex Crichton <alex@alexcrichton.com>" ]
5
5
edition = " 2021"
6
+ publish = false
6
7
7
8
[dependencies .backtrace ]
8
9
path = " ../.."
You can’t perform that action at this time.
0 commit comments