mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Fix tag
This commit is contained in:
parent
b0d5844bb0
commit
fa95e2cc34
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -21,11 +21,11 @@ jobs:
|
||||
# https://github.community/t/how-to-get-just-the-tag-name/16241/4
|
||||
run: echo ::set-output name=name::${GITHUB_REF/refs\/*s\//}
|
||||
- name: Generate the tag name for a branch build
|
||||
if: startsWith(steps.release_name.outputs.name, 'ci-')
|
||||
if: ${{ startsWith(steps.release_name.outputs.name, 'ci-') }}
|
||||
run: |
|
||||
echo "RELEASE_TAG_NAME=${GITHUB_REF/refs\/*s\//}-tag" >> $GITHUB_ENV
|
||||
- name: Generate the tag name for a branch build
|
||||
if: ! startsWith(steps.release_name.outputs.name, 'ci-')
|
||||
if: ${{ !startsWith(steps.release_name.outputs.name, 'ci-') }}
|
||||
run: |
|
||||
echo "RELEASE_TAG_NAME=${GITHUB_REF/refs\/*s\//}" >> $GITHUB_ENV
|
||||
- name: Generate changes file
|
||||
|
Loading…
Reference in New Issue
Block a user