From 95cf1fe961e403066e12a82bd8181409e89a7733 Mon Sep 17 00:00:00 2001 From: l3uddz Date: Mon, 15 Feb 2021 19:06:02 +0000 Subject: [PATCH] build: ci adjustments (#11) * build: git status step * repo: add gitignore * build: remove --skip-validate for snapshot builds * build: remove --skip-validate for publish builds --- .github/workflows/build.yml | 3 +++ .gitignore | 12 ++++++++++++ Makefile | 4 ++-- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c327446..1caaa49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,9 @@ jobs: run: | make vendor + # git status + - run: git status + # build - name: build if: startsWith(github.ref, 'refs/tags/') == false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3537297 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# misc +/.idea/ +/.vscode/ + +# configuration +config.yml + +# vendor files +/vendor/ + +# dist folder +/dist/ diff --git a/Makefile b/Makefile index 0134e56..45f4757 100644 --- a/Makefile +++ b/Makefile @@ -44,11 +44,11 @@ release: check_goreleaser ## Generate a release, but don't publish .PHONY: publish publish: check_goreleaser ## Generate a release, and publish - goreleaser --rm-dist --skip-validate + goreleaser --rm-dist .PHONY: snapshot snapshot: check_goreleaser ## Generate a snapshot release - goreleaser --snapshot --skip-validate --skip-publish --rm-dist + goreleaser --snapshot --skip-publish --rm-dist .PHONY: help help: