Skip to content

Commit

Permalink
chore: Update changelog workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic-junky committed Apr 22, 2024
1 parent 5e904e3 commit 5bc3f3f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 30 deletions.
28 changes: 0 additions & 28 deletions .github/release.yml

This file was deleted.

21 changes: 19 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -40,8 +47,18 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
makeLatest: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
files: ./tasty_supplies/build/*.zip
fail_on_unmatched_files: true
fail_on_unmatched_files: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

0 comments on commit 5bc3f3f

Please sign in to comment.