Compare commits

..

No commits in common. "327e027dbdd2910cf823b938841a3dd7453c878c" and "af581826849662c5a446592d7f0f12d9ffcdf0e9" have entirely different histories.

View file

@ -11,23 +11,6 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# TODO extract dedicated action
- name: setup tea cli
shell: bash
env:
TEA_VERSION: main
run: |
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64
mv tea* tea
chmod +x tea
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
- name: comment release start
shell: bash
run: |
./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }}
./tea comment ${{ github.event.issue.number }} "Start creating release"
- name: setup node - name: setup node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with: with:
@ -48,9 +31,22 @@ jobs:
@semantic-release/exec @semantic-release/exec
npx semantic-release npx semantic-release
ls -l
- name: comment release end # TODO extract dedicated action
- name: setup tea cli
shell: bash
env:
TEA_VERSION: main
run: |
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64
mv tea* tea
chmod +x tea
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
- name: update issue
shell: bash shell: bash
run: | run: |
./tea comment ${{ github.event.issue.number }} "Finished creating release" ./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }}
./tea issues close ${{ github.event.issue.number }} ./tea issues close ${{ github.event.issue.number }}