-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
54 lines (47 loc) · 952 Bytes
/
.goreleaser.yaml
File metadata and controls
54 lines (47 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: 2
project_name: sshclient-wasm
before:
hooks:
- go mod tidy
- go mod download
builds:
- id: sshclient
main: ./main.go
binary: sshclient
goos:
- js
goarch:
- wasm
env:
- CGO_ENABLED=0
ldflags:
- -s -w
# We only build for js/wasm and we can just have the single WASM binary in
# the dist directory.
no_unique_dist_dir: true
hooks:
post:
- sh -c 'cp "$(go env GOROOT)/lib/wasm/wasm_exec.js" dist/wasm_exec.js'
- pnpm build:ts
archives:
- id: wasm-archive
formats:
- tar.gz
files:
- dist/sshclient.wasm
- dist/wasm_exec.js
- lib/**/*
- package.json
- README.md
- LICENSE
release:
github:
owner: VerdigrisTech
name: sshclient-wasm
prerelease: auto
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
disable: true