Skip to content

Commit 0531326

Browse files
committed
snapshot
1 parent 1069261 commit 0531326

File tree

4 files changed

+58
-13
lines changed

4 files changed

+58
-13
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dist
1+
backend/dist
22
sqlfmt

.goreleaser.yml

-12
This file was deleted.

backend/.goreleaser.yaml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# This is an example .goreleaser.yml file with some sensible defaults.
2+
# Make sure to check the documentation at https://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod tidy
7+
# you may remove this if you don't need go generate
8+
- go generate ./...
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- linux
14+
- windows
15+
- darwin
16+
goarch:
17+
- amd64
18+
19+
archives:
20+
- format: tar.gz
21+
# this name template makes the OS and Arch compatible with the results of uname.
22+
name_template: >-
23+
{{ .ProjectName }}_
24+
{{- title .Os }}_
25+
{{- if eq .Arch "amd64" }}x86_64
26+
{{- else if eq .Arch "386" }}i386
27+
{{- else }}{{ .Arch }}{{ end }}
28+
{{- if .Arm }}v{{ .Arm }}{{ end }}
29+
# use zip for windows archives
30+
format_overrides:
31+
- goos: windows
32+
format: zip
33+
checksum:
34+
name_template: 'checksums.txt'
35+
snapshot:
36+
name_template: "{{ incpatch .Version }}-next"
37+
changelog:
38+
sort: asc
39+
filters:
40+
exclude:
41+
- '^docs:'
42+
- '^test:'
43+
44+
# The lines beneath this are called `modelines`. See `:help modeline`
45+
# Feel free to remove those if you don't want/use them.
46+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
47+
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

build.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tag:
2+
3+
git tag v0.X.0
4+
git push origin v0.x.0
5+
6+
build:
7+
8+
cd backend
9+
export GITHUB_TOKEN=BLAH
10+
goreleaser release

0 commit comments

Comments
 (0)