mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
build: create new milestone after release
This commit is contained in:
parent
43600a39d7
commit
bd69316e7f
1 changed files with 18 additions and 1 deletions
19
.github/actions/release_milestone/action.yaml
vendored
19
.github/actions/release_milestone/action.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue