Skip to content

Commit

Permalink
chore: add manual workflow to create new semver based tag
Browse files Browse the repository at this point in the history
Starting with the first after 0.5.0, release tags will be prepended with
a 'v'.
  • Loading branch information
robinelfrink committed May 8, 2024
1 parent 0c3ae5f commit ff1db94
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 ff1db94

Please sign in to comment.