Skip to content

Commit f0cf038

Browse files
committed
Setup GitHub release action
1 parent 47611d2 commit f0cf038

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Prepare Release PR
2+
3+
on:
4+
push:
5+
branches:
6+
- 'release-*'
7+
8+
jobs:
9+
prepare-release:
10+
uses: mgeisler/rust-release-gh-action/.github/workflows/prepare-release.yml@main
11+
with:
12+
name: "Martin Geisler"
13+
email: "mgeisler@google.com"
14+
changelog-file: "CHANGELOG.md"
15+
changelog-heading-level: "##"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Publish Crate
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- Cargo.toml
9+
10+
jobs:
11+
publish:
12+
uses: mgeisler/rust-release-gh-action/.github/workflows/publish-crate.yml@main
13+
secrets:
14+
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog for PDL
2+
3+
This file lists the most important changes made in each release of PDL.

0 commit comments

Comments
 (0)