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