mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-23 05:45:41 -05:00
chore: build improvements
This commit is contained in:
parent
f520fc67c7
commit
07ee7b36c5
2
.github/workflows/build-release.yml
vendored
2
.github/workflows/build-release.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
run: go install github.com/google/go-licenses@latest
|
run: go install github.com/google/go-licenses@latest
|
||||||
|
|
||||||
- name: go-license save
|
- name: go-license save
|
||||||
run: go-licenses save ./cmd/mumble-discord-bridge --force --save_path="./dist/LICENSES"
|
run: go-licenses save ./cmd/mumble-discord-bridge --force --save_path="./LICENSES"
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
|
@ -45,6 +45,9 @@ checksum:
|
|||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{ .Tag }}-next"
|
name_template: "{{ .Tag }}-next"
|
||||||
|
release:
|
||||||
|
extra_files:
|
||||||
|
- glob: "./LICENSES/*"
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
|
9
Makefile
9
Makefile
@ -1,8 +1,11 @@
|
|||||||
GOFILES=$(shell find ./ -type f -name '*.go')
|
GOFILES=$(shell find ./ -type f -name '*.go')
|
||||||
|
|
||||||
mumble-discord-bridge: $(GOFILES) .goreleaser.yml
|
mumble-discord-bridge: $(GOFILES) .goreleaser.yml
|
||||||
goreleaser build --skip-validate --rm-dist --single-target --snapshot
|
goreleaser build --skip-validate --rm-dist --single-target --auto-snapshot
|
||||||
go-licenses save ./cmd/mumble-discord-bridge --force --save_path="./dist/LICENSES"
|
|
||||||
|
release:
|
||||||
|
go-licenses save ./cmd/mumble-discord-bridge --force --save_path="./LICENSES"
|
||||||
|
goreleaser release --rm-dist
|
||||||
|
|
||||||
dev: $(GOFILES) .goreleaser.yml
|
dev: $(GOFILES) .goreleaser.yml
|
||||||
goreleaser build --skip-validate --rm-dist --single-target --snapshot && sudo ./dist/mumble-discord-bridge_linux_amd64/mumble-discord-bridge
|
goreleaser build --skip-validate --rm-dist --single-target --snapshot && sudo ./dist/mumble-discord-bridge_linux_amd64/mumble-discord-bridge
|
||||||
@ -32,4 +35,4 @@ docker-next:
|
|||||||
clean:
|
clean:
|
||||||
rm -f mumble-discord-bridge
|
rm -f mumble-discord-bridge
|
||||||
|
|
||||||
.PHONY: docker-latest docker-latest-push clean
|
.PHONY: release docker-latest docker-latest-push clean
|
Loading…
Reference in New Issue
Block a user