Skip to content

Commit

Permalink
👷 Reworked Release Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Templum committed Mar 15, 2024
1 parent 1e084b4 commit a82c08c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Update Changelog
on:
workflow_dispatch:
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Generate Changelog"
uses: sercanuste/gitmoji-changelog-action@v1
with:
add_author: true
13 changes: 4 additions & 9 deletions .github/workflows/pre-release.yml → .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prepare Release
name: Create Tag
on:
workflow_dispatch:
inputs:
Expand All @@ -7,19 +7,14 @@ on:
description: "SEMVER Version of the next release"
type: string
jobs:
prepare:
create-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Generate Changelog"
uses: sercanuste/gitmoji-changelog-action@v1
with:
add_author: true
- uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "${{ github.event.inputs.new_version }}"
tag: "v${{ github.event.inputs.new_version }}"
message: ":bookmark: Releasing ${{ github.event.inputs.new_version }}"
tag_exists_error: true
tag_exists_error: true

0 comments on commit a82c08c

Please sign in to comment.