mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-04 12:04:58 +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
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
version: v2.4.8
|
||||
args: release --clean ${{ env.flags }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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} \
|
||||
|
|
Loading…
Add table
Reference in a new issue