From 79d6424303ecc8ad1248f0a9333f21ba325f2043 Mon Sep 17 00:00:00 2001 From: Harish Marri Date: Thu, 25 Aug 2022 21:24:10 +0530 Subject: [PATCH] add goreleaser and renamed starport --> ignite-cli --- .goreleaser.yml | 54 +++++++++++++++++++++++++++++++++++++ config.yml => ignite.ci.yml | 0 readme.md | 5 +--- 3 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 .goreleaser.yml rename config.yml => ignite.ci.yml (100%) diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..4549486f --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,54 @@ +--- +project_name: omniflixhub + +env: + - GO111MODULE=on + +before: + hooks: + - go mod tidy -compat=1.18 + +builds: + - main: ./cmd/omniflixhubd + id: "omniflixhubd" + binary: omniflixhubd + mod_timestamp: "{{ .CommitTimestamp }}" + flags: + - -tags=netgo ledger + - -trimpath + env: + - CGO_ENABLED=0 + ldflags: + - -s -w -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X github.com/cosmos/cosmos-sdk/version.Name=gaia -X github.com/cosmos/cosmos-sdk/version.AppName=gaiad -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger -X github.com/tendermint/tendermint/version.TMCoreSemVer={{ .Env.TM_VERSION }} + goos: + - linux + goarch: + - amd64 + - arm64 + +archives: + - format: tar.gz + wrap_in_directory: "true" + format_overrides: + - goos: windows + format: zip + name_template: "{{ .Binary }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" + files: + - LICENSE + - README.md + +release: + github: + owner: OmniFlix + name: omniflixhub + name_template: "v{{.Version}}" + +checksum: + name_template: SHA256SUMS-v{{.Version}}.txt + algorithm: sha256 + +snapshot: + name_template: SNAPSHOT-{{ .Commit }} + +changelog: + skip: true \ No newline at end of file diff --git a/config.yml b/ignite.ci.yml similarity index 100% rename from config.yml rename to ignite.ci.yml diff --git a/readme.md b/readme.md index 1ec14a2a..4bd546a1 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # OmniFlix Hub **OmniFlix Hub** is a blockchain built using Cosmos SDK and Tendermint and created -with [Starport](https://github.com/tendermint/starport). +with [Ignite CLI](https://github.com/ignite/cli). ### Requiremets @@ -41,6 +41,3 @@ make install ## Mainnet - [omniflixhub-1](https://github.com/OmniFlix/mainnet/tree/main/omniflixhub-1) - -== -v8.0.0