Skip to content

Commit

Permalink
build: ci adjustments (#11)
Browse files Browse the repository at this point in the history
* build: git status step

* repo: add gitignore

* build: remove --skip-validate for snapshot builds

* build: remove --skip-validate for publish builds
  • Loading branch information
l3uddz authored Feb 15, 2021
1 parent d92881e commit 95cf1fe
Show file tree
Hide file tree
Showing 3 changed files with 17 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 @@ -44,6 +44,9 @@ jobs:
run: |
make vendor
# git status
- run: git status

# build
- name: build
if: startsWith(github.ref, 'refs/tags/') == false
Expand Down
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# misc
/.idea/
/.vscode/

# configuration
config.yml

# vendor files
/vendor/

# dist folder
/dist/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 95cf1fe

Please sign in to comment.