Skip to content

Commit bc3d3f4

Browse files
committed
Clean git before releasing
1 parent 89bd868 commit bc3d3f4

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ jobs:
139139
- name: Build Root Filesystem
140140
run: make image-rootfs
141141

142+
- name: Clean git
143+
run: git checkout go.*
144+
142145
- name: Create Github Release
143146
uses: goreleaser/goreleaser-action@v2
144147
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ __debug_bin
66
.cache
77
*.yaml
88
evcc
9+
evcc_*
910
linux-*.Dockerfile
1011
!evcc.dist.yaml
1112
dist

.goreleaser.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ release:
55
# before:
66
# hooks:
77
# - make npm assets
8+
extra_files:
9+
- glob: evcc_*.image.gz
10+
- glob: evcc_*.rootfs.gz
811
builds:
912
- id: evcc
1013
main: main.go
@@ -37,8 +40,6 @@ archives:
3740
format: zip
3841
files:
3942
- evcc.dist.yaml
40-
- evcc_*.image.gz
41-
- evcc_*.rootfs.gz
4243
checksum:
4344
name_template: 'checksums.txt'
4445
snapshot:

0 commit comments

Comments
 (0)