fix: use github.ref_name
This commit is contained in:
parent
ab4ae31dca
commit
c7e8dbf832
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ jobs:
|
||||||
|
|
||||||
- name: debug 1
|
- name: debug 1
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo 'Release ${{ github.ref }}'
|
run: echo 'Release ${{ github.ref_name }}'
|
||||||
|
|
||||||
- name: debug 2
|
- name: debug 2
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -32,16 +32,16 @@ jobs:
|
||||||
|
|
||||||
- name: debug 3
|
- name: debug 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}'
|
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}'
|
||||||
|
|
||||||
- name: debug 4
|
- name: debug 4
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}' | awk '{print $1}'
|
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}'
|
||||||
|
|
||||||
- name: comment tag start
|
- name: comment tag start
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export RELEASE_TICKET_ID=$(./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}' | awk '{print $1}')
|
export RELEASE_TICKET_ID=$(./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}')
|
||||||
|
|
||||||
./tea comment ${RELEASE_TICKET_ID} "Start tag"
|
./tea comment ${RELEASE_TICKET_ID} "Start tag"
|
||||||
./tea issues close ${{ github.event.issue.number }}
|
./tea issues close ${{ github.event.issue.number }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue