mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-11 23:45:51 +08:00
ci: fixed goreleaser latest version binary name breaking buildx (#1019)
* ci: fixed goreleaser version * fix: updated goreleaser configuration * chore: rename arm64_v8.0 binary
This commit is contained in:
parent
660d425288
commit
afe49d62ac
3 changed files with 8 additions and 2 deletions
2
.github/workflows/_gorelease.yml
vendored
2
.github/workflows/_gorelease.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # 6.0.0
|
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # 6.0.0
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: v2.4.8
|
||||||
args: release --clean ${{ env.flags }}
|
args: release --clean ${{ env.flags }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
version: 2
|
||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
@ -55,7 +57,7 @@ checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{ incpatch .Version }}-next"
|
version_template: "{{ incpatch .Version }}-next"
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
|
|
|
@ -17,6 +17,10 @@ if [[ -d "dist/shiori_linux_amd64_v1" ]]; then
|
||||||
cp -r dist/shiori_linux_amd64_v1 dist/shiori_linux_amd64
|
cp -r dist/shiori_linux_amd64_v1 dist/shiori_linux_amd64
|
||||||
fi
|
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 \
|
$CONTAINER_RUNTIME buildx build \
|
||||||
-f ${CONTAINERFILE_NAME} \
|
-f ${CONTAINERFILE_NAME} \
|
||||||
--platform=${BUILDX_PLATFORMS} \
|
--platform=${BUILDX_PLATFORMS} \
|
||||||
|
|
Loading…
Add table
Reference in a new issue