Skip to content

Commit

Permalink
Setup GitHub release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeisler committed May 11, 2023
1 parent 7494f88 commit 1211029
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Prepare Release PR

on:
push:
branches:
- 'release-*'

jobs:
prepare-release:
uses: mgeisler/rust-release-gh-action/.github/workflows/prepare-release.yml@main
with:
name: "Martin Geisler"
email: "[email protected]"
changelog-file: "CHANGELOG.md"
changelog-heading-level: "##"
14 changes: 14 additions & 0 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish Crate

on:
push:
branches:
- main
paths:
- Cargo.toml

jobs:
publish:
uses: mgeisler/rust-release-gh-action/.github/workflows/publish-crate.yml@main
secrets:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Changelog for PDL

This file lists the most important changes made in each release of PDL.

0 comments on commit 1211029

Please sign in to comment.