diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d2538bc..721519b 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -22,12 +22,16 @@ jobs: chmod +x convertir.sh ./convertir.sh + - name: Obtener Ășltima tag + run: | + TAG=$(git describe --tags --abbrev=0) + echo "TAG=${TAG}" >> $GITHUB_ENV - name: Crear release env: TOKEN: ${{ secrets.RELEASE_TOKEN }} run: | - TAG="${GITHUB_REF_NAME}" + TAG="${env.TAG}" JSON_PAYLOAD=$(cat <