diff --git a/.gitea/workflows/develop -> build.yml b/.gitea/workflows/develop -> build.yml index 0289f02..350c114 100644 --- a/.gitea/workflows/develop -> build.yml +++ b/.gitea/workflows/develop -> build.yml @@ -20,6 +20,11 @@ jobs: curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output ../tea chmod +x ../tea ../tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }} + - name: get tag + run: | + ../tea r ls -o=simple + echo $(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1) + - uses: http://sigyl.com:3000/actions/setup-node@v3 with: node-version: '20' diff --git a/.gitea/workflows/pr-closed.yml b/.gitea/workflows/pr-closed.yml index 7decd0e..a79eb1f 100644 --- a/.gitea/workflows/pr-closed.yml +++ b/.gitea/workflows/pr-closed.yml @@ -23,8 +23,6 @@ jobs: token: ${{ secrets.BOT_TOKEN }} - name: tag run: | - git fetch --tags - git tag -l ../tea r ls -o=simple - name: delete develop branch id: delete_develop_branch