wfxr.forgit/.github/workflows/release.yaml
dependabot[bot] 1157d7bac3
Meta: Bump softprops/action-gh-release from 1 to 2 (#395)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-04 16:36:24 +02:00

30 lines
590 B
YAML

name: Release
on:
push:
tags:
- '**'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Package
run: tar -czf forgit-${{github.ref_name}}.tar.gz --exclude LICENSE --exclude README.md *
- name: Generate Changelog
run: .github/scripts/changelog.sh > CHANGELOG.md
- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
files: forgit-${{github.ref_name}}.tar.gz