fix(cli): Release pipeline using Goreleaser should work now
Some checks failed
ci / goreleaser (push) Failing after 14s

This commit is contained in:
Waldemar 2025-10-02 13:19:40 +02:00
parent 453cf9a33b
commit e5b069c498
Signed by: waldemar.kindler
SSH key fingerprint: SHA256:wlTo/iRV2dOcNfLJPdlwSsLvA1BH+gT9449nlU9sHXo
2 changed files with 18 additions and 27 deletions

View file

@ -9,37 +9,17 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '>=1.25.1'
-
name: Run GoReleaser
go-version: ">=1.25.1"
- name: Run GoReleaser
uses: https://github.com/goreleaser/goreleaser-action@v6
env:
GITEA_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
with:
args: release --clean --skip=publish
-
name: Grab Changelog
id: changelog
run: |
echo "text=$(cat dist/CHANGELOG.md)" >> "$GITHUB_OUTPUT"
echo "text=$(cat dist/CHANGELOG.md)"
-
name: Release app
uses: actions/forgejo-release@v2.6.0
with:
direction: upload
#token: ${{ secrets.WRITE_TOKEN_TO_MYREPO }}
release-dir: dist
release-notes: ${{ steps.changelog.output.text }}
url: "https://edp.buildth.ing"
repo: "DevFW-CICD/edge-connect-client"
tag: "${{ github.ref_name }}"
sha: "${{ github.sha }}"
token: ${{ secrets.PACKAGES_TOKEN }}
args: release --clean

View file

@ -51,3 +51,14 @@ changelog:
- title: Others
order: 999
sort: asc
release:
gitea:
owner: DevFW-CICD
name: edge-connect-client
gitea_urls:
api: https://edp.buildth.ing/api/v1
download: https://edp.buildth.ing
# set to true if you use a self-signed certificate
skip_tls_verify: false