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
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -44,6 +44,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make vendor
|
make vendor
|
||||||
|
|
||||||
|
# git status
|
||||||
|
- run: git status
|
||||||
|
|
||||||
# build
|
# build
|
||||||
- name: build
|
- name: build
|
||||||
if: startsWith(github.ref, 'refs/tags/') == false
|
if: startsWith(github.ref, 'refs/tags/') == false
|
||||||
|
|||||||
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# misc
|
||||||
|
/.idea/
|
||||||
|
/.vscode/
|
||||||
|
|
||||||
|
# configuration
|
||||||
|
config.yml
|
||||||
|
|
||||||
|
# vendor files
|
||||||
|
/vendor/
|
||||||
|
|
||||||
|
# dist folder
|
||||||
|
/dist/
|
||||||
4
Makefile
4
Makefile
@@ -44,11 +44,11 @@ release: check_goreleaser ## Generate a release, but don't publish
|
|||||||
|
|
||||||
.PHONY: publish
|
.PHONY: publish
|
||||||
publish: check_goreleaser ## Generate a release, and publish
|
publish: check_goreleaser ## Generate a release, and publish
|
||||||
goreleaser --rm-dist --skip-validate
|
goreleaser --rm-dist
|
||||||
|
|
||||||
.PHONY: snapshot
|
.PHONY: snapshot
|
||||||
snapshot: check_goreleaser ## Generate a snapshot release
|
snapshot: check_goreleaser ## Generate a snapshot release
|
||||||
goreleaser --snapshot --skip-validate --skip-publish --rm-dist
|
goreleaser --snapshot --skip-publish --rm-dist
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help:
|
help:
|
||||||
|
|||||||
Reference in New Issue
Block a user