diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 966fd5f6..3595e2c2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -102,7 +102,7 @@ jobs: version: latest args: release --clean env: - GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} + GITEA_TOKEN: ${{ secrets.USER_TOKEN }} - name: Upload artefacts uses: christopherhx/gitea-upload-artifact@v4 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index eb4c02a9..fdedcc42 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -154,3 +154,20 @@ docker_manifests: image_templates: - git.linuxcrack.zip/midou/filebrowser:v{{ .Major }}-amd64-s6 - git.linuxcrack.zip/midou/filebrowser:v{{ .Major }}-arm64-s6 +release: + gitea: + owner: midou + name: filebrowser + draft: false + prerelease: auto + replace_existing_draft: true + replace_existing_artifacts: true + mode: append + name_template: "{{ .ProjectName }} {{ .Tag }}" + include_meta: true + +gitea_urls: + api: https://git.linuxcrack.zip/api/v1 + download: https://git.linuxcrack.zip + skip_tls_verify: false +