1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: release-dev
on:
workflow_dispatch:
push:
branches:
- dev
permissions:
contents: write
pull-requests: write
jobs:
release-dev:
name: Release on dev branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Create dev release-plz config
run: |
cat > release-plz-dev.toml << 'EOF'
[workspace]
changelog_config = "cliff.toml"
git_release_enable = true
git_tag_enable = true
[[package]]
name = "rappct"
changelog_path = "CHANGELOG-DEV.md"
git_tag_name = "dev-v{{ version }}"
publish = false
EOF
- name: Run release-plz (dev - no publish)
uses: MarcoIeni/release-plz-action@v0.5
with:
config: release-plz-dev.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_PLZ_LOG: DEBUG