[ci skip] Trigger release on milestone closed

This commit is contained in:
Davide De Rosa 2021-12-02 09:37:19 +01:00
parent 0c500fa4ee
commit e8a3abc0da
1 changed files with 3 additions and 6 deletions

View File

@ -1,11 +1,8 @@
name: Release name: Release
on: on:
workflow_dispatch: milestone:
inputs: types: closed
version:
description: 'TunnelKit version (e.g. 3.12.6)'
required: true
jobs: jobs:
run_tests: run_tests:
@ -37,7 +34,7 @@ jobs:
git_push_gpgsign: false git_push_gpgsign: false
- name: Tag release - name: Tag release
env: env:
VERSION: ${{ github.event.inputs.version }} VERSION: ${{ github.event.milestone.title }}
run: | run: |
DATE=`date "+%Y-%m-%d"` DATE=`date "+%Y-%m-%d"`
COMMIT_MESSAGE="[ci skip] Set release date" COMMIT_MESSAGE="[ci skip] Set release date"