Refer the triggered tag name

This commit is contained in:
Takumi Sueda 2021-01-17 19:54:23 +09:00
parent 3d659f4088
commit 92e5c5f0ac

View File

@ -14,7 +14,8 @@ jobs:
steps: steps:
- name: Generate release name - name: Generate release name
id: release_name id: release_name
run: echo "::set-output name=name::`date "+%Y-%m-%d-%H%M%S"`" # https://github.community/t/how-to-get-just-the-tag-name/16241/4
run: echo ::set-output name=name::${GITHUB_REF/refs\/*s\//}
- name: Create release - name: Create release
id: create_release id: create_release
uses: actions/create-release@v1 uses: actions/create-release@v1