From d9bab7d3c22a5fa04ff531e74eaece2ad9bde133 Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Thu, 30 Sep 2021 14:19:37 -0700 Subject: [PATCH] =?UTF-8?q?Rename=20org=20miguelmota=20=E2=86=92=20cointop?= =?UTF-8?q?-sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 2 +- .rpm/cointop.spec | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index bed3650..0ebc707 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,4 +6,4 @@ builds: goarch: - amd64 ldflags: - - -X github.com/miguelmota/cointop/cointop.version={{.Env.VERSION}} + - -X github.com/cointop-sh/cointop/cointop.version={{.Env.VERSION}} diff --git a/.rpm/cointop.spec b/.rpm/cointop.spec index b9f334e..5d3a8b6 100644 --- a/.rpm/cointop.spec +++ b/.rpm/cointop.spec @@ -8,7 +8,7 @@ Release: 6%{?dist} Summary: Interactive terminal based UI application for tracking cryptocurrencies License: Apache-2.0 URL: https://cointop.sh -Source0: https://github.com/miguelmota/%{cointop}/archive/v%{version}.tar.gz +Source0: https://github.com/cointop-sh/%{cointop}/archive/v%{version}.tar.gz BuildRequires: gcc BuildRequires: golang >= 1.14 @@ -20,11 +20,11 @@ cointop is a fast and lightweight interactive terminal based UI application for %setup -q -n %{name}-%{version} %build -mkdir -p ./_build/src/github.com/miguelmota -ln -s $(pwd) ./_build/src/github.com/miguelmota/%{name} +mkdir -p ./_build/src/github.com/cointop-sh +ln -s $(pwd) ./_build/src/github.com/cointop-sh/%{name} export GOPATH=$(pwd)/_build:%{gopath} -GO111MODULE=off go build -ldflags="-linkmode=external -compressdwarf=false -X github.com/miguelmota/cointop/cointop.version=%{version}" -o x . +GO111MODULE=off go build -ldflags="-linkmode=external -compressdwarf=false -X github.com/cointop-sh/cointop/cointop.version=%{version}" -o x . %install install -d %{buildroot}%{_bindir}