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" name = "cz_conventional_commits"
tag_format = "v$version" tag_format = "v$version"
version_scheme = "semver" version_scheme = "semver"
version = "0.4.0" version = "0.3.1"
update_changelog_on_bump = true update_changelog_on_bump = true
major_version_zero = true major_version_zero = true

View File

@ -1,8 +1,6 @@
version: 2 version: 2
project_name: sonr 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: builds:
- id: core - id: core
goos: goos:
@ -18,6 +16,21 @@ builds:
ldflags: ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} - -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 - id: dwn
goos: goos:
- js - js
@ -29,21 +42,6 @@ builds:
gobinary: go gobinary: go
command: build 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: archives:
- id: default - id: default
builds: builds:
@ -84,19 +82,3 @@ release:
draft: false draft: false
replace_existing_draft: true replace_existing_draft: true
replace_existing_artifacts: 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