Skip to content

Commit

Permalink
chore: add manual workflow to calculate the next release tag
Browse files Browse the repository at this point in the history
Add workflow to calculate the next release tag based on conventional
commits. As a result new release tags will be prepended with a 'v'.

Signed-off-by: Robin Elfrink <[email protected]>
  • Loading branch information
robinelfrink committed May 9, 2024
1 parent 163af65 commit fce1dc5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: tag

on:
workflow_dispatch:
branches:
- main

jobs:
tag:
name: tag
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: determine next tag
uses: mathieudutour/[email protected]
id: tag
with:
dry_run: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: show tag and changelog
run: |
echo "Tag: ${{ steps.tag.outputs.new_tag }}"
echo "Changelog:"
echo "${{ steps.tag.outputs.changelog }}"

0 comments on commit fce1dc5

Please sign in to comment.