build: create new milestone after release

This commit is contained in:
Sören Weber 2022-07-15 14:08:29 +02:00
parent 43600a39d7
commit bd69316e7f
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -1,5 +1,5 @@
name: Release milestone
description: Creates a release with changelog and tag out of a given milestone
description: Creates a release and tag out of a given milestone
inputs:
milestone:
description: Milestone for this release
@ -75,3 +75,20 @@ runs:
git add *
git commit --message "Mark non-release version"
git push origin main
- name: Generate next version number
id: semvers
uses: "WyriHaximus/github-action-next-semvers@v1"
with:
version: ${{ env.MILESTONE }}
env:
MILESTONE: ${{ inputs.milestone }}
GITHUB_TOKEN: ${{ inputs.github_token }}
- name: Create next patch milestone
uses: "WyriHaximus/github-action-create-milestone@v1"
with:
title: ${{ steps.semvers.outputs.patch }}
env:
MILESTONE: ${{ inputs.milestone }}
GITHUB_TOKEN: ${{ inputs.github_token }}