Clean git before releasing

This commit is contained in:
andig 2021-01-10 15:47:58 +01:00
parent 89bd868764
commit bc3d3f4d78
3 changed files with 7 additions and 2 deletions

View file

@ -139,6 +139,9 @@ jobs:
- name: Build Root Filesystem
run: make image-rootfs
- name: Clean git
run: git checkout go.*
- name: Create Github Release
uses: goreleaser/goreleaser-action@v2
with:

1
.gitignore vendored
View file

@ -6,6 +6,7 @@ __debug_bin
.cache
*.yaml
evcc
evcc_*
linux-*.Dockerfile
!evcc.dist.yaml
dist

View file

@ -5,6 +5,9 @@ release:
# before:
# hooks:
# - make npm assets
extra_files:
- glob: evcc_*.image.gz
- glob: evcc_*.rootfs.gz
builds:
- id: evcc
main: main.go
@ -37,8 +40,6 @@ archives:
format: zip
files:
- evcc.dist.yaml
- evcc_*.image.gz
- evcc_*.rootfs.gz
checksum:
name_template: 'checksums.txt'
snapshot: