mirror of
https://github.com/brain-hackers/buildbrain
synced 2024-12-22 20:20:11 +09:00
Merge pull request #9 from brain-hackers/tagname
Generate release name from triggered tag
This commit is contained in:
commit
834190745f
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -14,7 +14,8 @@ jobs:
|
||||
steps:
|
||||
- name: Generate 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
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
Loading…
Reference in New Issue
Block a user