Skip to content

Commit

Permalink
Configure gorelease, wip
Browse files Browse the repository at this point in the history
  • Loading branch information
arminc committed May 30, 2020
1 parent 127c372 commit 402dbdf
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name-template: '$NEXT_MINOR_VERSION 🌈'
name-template: '$NEXT_MINOR_VERSION'
tag-template: '$NEXT_MINOR_VERSION'
categories:
- title: '🚀 Features'
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
- name: Run test steps
run: ./test.sh -a

# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage.txt
# flags: unittests
# fail_ci_if_error: true

# - name: Go report card
# uses: creekorful/[email protected]

# - name: Release drafter
# uses: release-drafter/release-drafter@v5
# env:
# GITHUB_TOKEN: ${{ secrets.TOKEN_REPO }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt
flags: unittests
fail_ci_if_error: true

- name: Go report card
uses: creekorful/[email protected]

- name: Release drafter
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_REPO }}
30 changes: 30 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
project_name: k8s-platform-lcm
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/lcm/main.go
goos:
- darwin
- linux
- windows
goarch:
- amd64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 402dbdf

Please sign in to comment.