Skip to content

Commit

Permalink
Merge pull request #142 from K-Phoen/cleanup
Browse files Browse the repository at this point in the history
Remove old release process artefacts
  • Loading branch information
K-Phoen authored Dec 18, 2021
2 parents 8e438ab + ff53859 commit 8fe2ec1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
GORELEASER_CURRENT_TAG: ${{ needs.tag.outputs.version }}

- name: Upload assets
uses: actions/upload-artifact@v2
with:
name: grabana
path: dist/*
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/grabana

dist/
/dist
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
WITH_COVERAGE?=false

TAG_NAME?=$(shell git describe --tags)
SHORT_SHA?=$(shell git rev-parse --short HEAD)
VERSION?=$(TAG_NAME)-$(SHORT_SHA)
LDFLAGS=-ldflags "-X=main.version=$(VERSION)"

ifeq ($(WITH_COVERAGE),true)
GOCMD_TEST?=go test -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic ./...
else
Expand Down Expand Up @@ -59,8 +54,5 @@ down:
docker rm -f grabana_influxdb
docker rm -f grabana_prometheus

build_cli:
go build $(LDFLAGS) -o grabana github.com/K-Phoen/grabana/cmd/cli

install_goreleaser:
go install github.com/goreleaser/goreleaser@v1.1.0
go install github.com/goreleaser/goreleaser@latest

0 comments on commit 8fe2ec1

Please sign in to comment.