Compare commits

..

No commits in common. "47e7a16b4d57214853b0786a9c2bac3df621fe93" and "4630f91c77c193ef8c5ebcf6924ed60fdd7772d3" have entirely different histories.

2 changed files with 19 additions and 14 deletions

View file

@ -55,3 +55,14 @@ jobs:
./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }} ./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }}
./tea comment ${{ github.event.issue.number }} "Finished creating release" ./tea comment ${{ github.event.issue.number }} "Finished creating release"
./tea issues close ${{ github.event.issue.number }} ./tea issues close ${{ github.event.issue.number }}
- name: save release-issue
shell: bash
run: echo ${{ github.event.issue.number }} > release-issue
- name: cache release-issue
uses: actions/cache/save@v4
with:
path: |
release-issue
key: release-issue

View file

@ -11,19 +11,13 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: setup tea cli - name: cache release-issue
shell: bash uses: actions/cache/restore@v4
env: with:
TEA_VERSION: 0.9.2 path: |
run: | release-issue
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64 key: release-issue
mv tea* tea
chmod +x tea
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
export RELEASE_TICKET_ID=$(tea i ls --fields index,title --output simple | grep test | awk '{print $1}')
echo ${RELEASE_TICKET_ID}
- name: comment tag start - name: show release-issue
shell: bash shell: bash
run: | run: cat release-issue
./tea comment ${RELEASE_TICKET_ID} "Start tag"