Skip to content

Commit

Permalink
add release workflow (#28)
Browse files Browse the repository at this point in the history
* zip and tar in workflow
* only consider selected tags for release notes
  • Loading branch information
bobluppes authored May 30, 2023
1 parent 0e68a74 commit 6dae2db
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .github/release.yml

changelog:
exclude:
labels:
- ignore-for-release
authors:
- octocat
categories:
- title: Breaking Changes 🛠
labels:
- breaking-change
- title: Exciting New Features 🎉
labels:
- feat
- title: Documentation changes
labels:
- docs
- example
- test
- title: Other changes
labels:
- refactor
- tooling
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install tar zip -y
- name: Create tarball
run: tar -czvf header-only.tar.gz include
- name: Create zip
run: zip -r header-only.zip include
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
include/*
include/**/*
generate_release_notes: false
header-only.zip
header-only.tar.gz
generate_release_notes: true

0 comments on commit 6dae2db

Please sign in to comment.