feat(dwn): add wasm build for dwn

This commit is contained in:
Prad Nukala 2024-09-30 15:30:25 -04:00
parent dfc30b9754
commit cd7b30a0e3
2 changed files with 16 additions and 34 deletions

View File

@ -2,6 +2,6 @@
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "semver"
version = "0.4.0"
version = "0.3.1"
update_changelog_on_bump = true
major_version_zero = true

View File

@ -1,8 +1,6 @@
version: 2
project_name: sonr
# Only uncomment os, arch, and targets if you are NOT using cosmwasm / wasm-light-client.
# Windows, 386 (32bit), and ARM are not Wasm compatible.
builds:
- id: core
goos:
@ -18,6 +16,21 @@ builds:
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
- id: motr
goos:
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/motrd
binary: motrd
builder: go
gobinary: go
command: build
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
- id: dwn
goos:
- js
@ -29,21 +42,6 @@ builds:
gobinary: go
command: build
- id: motr
goos:
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/motrd
binary: motrd
builder: go
gobinary: go
command: build
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archives:
- id: default
builds:
@ -84,19 +82,3 @@ release:
draft: false
replace_existing_draft: true
replace_existing_artifacts: true
snapshot:
name_template: "{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}"
source:
name_template: "{{ .ProjectName }}-{{ .Version }}"
format: tar.gz
git:
tag_sort: -version:refname
github_urls:
download: https://github.com
gitlab_urls:
download: https://gitlab.com