Skip to content

Commit

Permalink
Clean git before releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 10, 2021
1 parent 89bd868 commit bc3d3f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ __debug_bin
.cache
*.yaml
evcc
evcc_*
linux-*.Dockerfile
!evcc.dist.yaml
dist
Expand Down
5 changes: 3 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -37,8 +40,6 @@ archives:
format: zip
files:
- evcc.dist.yaml
- evcc_*.image.gz
- evcc_*.rootfs.gz
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit bc3d3f4

Please sign in to comment.