This commit is contained in:
sundowndev committed 2020-04-16 12:25:50 +01:00
1 parent 4b994081aa
commit 61e4162028
3 files changed
+9 -7

No files matched your search

+3 -4
View File
@@ -28,10 +28,9 @@ jobs:
with:
go-version: 1.14.x
- name: Inject static assets
run: |
go get -u github.com/gobuffalo/packr/v2/packr2
$HOME/go/bin/packr2
# - name: Install packr2
# run: |
# go get -u github.com/gobuffalo/packr/v2/packr2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
+1 -3
View File
@@ -17,6 +17,4 @@
.DS_Store
coverage
coverage.*
packrd/
*-packr.go
coverage.*
+5
View File
@@ -1,5 +1,8 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go get -u github.com/gobuffalo/packr/v2/packr2
builds:
- env:
- CGO_ENABLED=0
@@ -13,6 +16,8 @@ builds:
- amd64
- arm
- arm64
hooks:
pre: $HOME/go/bin/packr2
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements: