From f2879e64187217312c85c9619ddee48a4434a1c8 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Sun, 8 Dec 2024 13:41:29 +0100 Subject: [PATCH 1/3] ci: fixed goreleaser version --- .github/workflows/_gorelease.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_gorelease.yml b/.github/workflows/_gorelease.yml index 4e7d9e589..7264d77b7 100644 --- a/.github/workflows/_gorelease.yml +++ b/.github/workflows/_gorelease.yml @@ -23,7 +23,7 @@ jobs: uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # 6.0.0 with: distribution: goreleaser - version: latest + version: v2.4.8 args: release --clean ${{ env.flags }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 3f457344b49c11b8463e722ae74e2f51663e3ca3 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Sun, 8 Dec 2024 14:04:12 +0100 Subject: [PATCH 2/3] fix: updated goreleaser configuration --- .goreleaser.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fae40c8f6..58746ac50 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod tidy @@ -55,7 +57,7 @@ checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: sort: asc From 25a38fdc10776a66adce67f1cdf8c1723ba96ff9 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Sun, 8 Dec 2024 14:15:59 +0100 Subject: [PATCH 3/3] chore: rename arm64_v8.0 binary --- scripts/buildx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/buildx.sh b/scripts/buildx.sh index 7690a2925..d588dbb6c 100755 --- a/scripts/buildx.sh +++ b/scripts/buildx.sh @@ -17,6 +17,10 @@ if [[ -d "dist/shiori_linux_amd64_v1" ]]; then cp -r dist/shiori_linux_amd64_v1 dist/shiori_linux_amd64 fi +if [[ -d "dist/shiori_linux_arm64_v8.0" ]]; then + cp -r dist/shiori_linux_arm64_v8.0 dist/shiori_linux_arm64 +fi + $CONTAINER_RUNTIME buildx build \ -f ${CONTAINERFILE_NAME} \ --platform=${BUILDX_PLATFORMS} \