From 89c1f6438646fca2cde1d93652bb64da6ff08be7 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 20:19:37 +0000 Subject: [PATCH] fix(ci): use the conventionalcommits preset instead of angular --- .gitea/workflows/release.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8e0e32a..79a19fc 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -77,6 +77,8 @@ jobs: with: git-url: ${{ steps.set_srvurl.outputs.srvurl }} github-token: ${{ gitea.token }} + preset: "conventionalcommits" + # preset: "angular" # This is the default skip-commit: true release-count: 1 output-file: false @@ -157,24 +159,7 @@ jobs: annotations: ${{ steps.meta.outputs.annotations }} labels: ${{ steps.meta.outputs.labels }} tags: ${{ steps.meta.outputs.tags }} - - # - name: Build images - # run: | - # bldcmd="docker buildx build --load" - # strtags="${{ steps.meta.outputs.tags }}" - # strlabels="${{ steps.meta.outputs.labels }}" - # strannotations="${{ steps.meta.outputs.annotations }}" - # readarray -t tags <<<"$strtags" - # readarray -t labels <<<"$strlabels" - # readarray -t annotations <<<"$strannotations" - # for element in "${tags[@]}"; do bldcmd="$bldcmd --tag \"$element\""; done - # for element in "${labels[@]}"; do bldcmd="$bldcmd --label \"$element\""; done - # for element in "${annotations[@]}"; do bldcmd="$bldcmd --annotation \"$element\""; done - # bldcmd="$bldcmd ${{ gitea.workspace }}" - # echo "$bldcmd" - # echo "" - # sh -c "$bldcmd" - + - name: Push images run: | strtags="${{ steps.meta.outputs.tags }}"