diff --git a/.goreleaser-archlinux.yml b/.goreleaser-archlinux.yml index 34305b3362..72f308d73e 100644 --- a/.goreleaser-archlinux.yml +++ b/.goreleaser-archlinux.yml @@ -1,14 +1,19 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com + +env: + - name: GITHUB_ORG + value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p') release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. # Note: it can only be one: either github or gitlab or gitea github: - owner: skycoin + owner: $(GITHUB_ORG) name: skywire + #prerelease: true before: diff --git a/.goreleaser-darwin.yml b/.goreleaser-darwin.yml index 656f75af49..ef197da7ab 100644 --- a/.goreleaser-darwin.yml +++ b/.goreleaser-darwin.yml @@ -1,14 +1,19 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com + +env: + - name: GITHUB_ORG + value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p') release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. # Note: it can only be one: either github or gitlab or gitea github: - owner: skycoin + owner: $(GITHUB_ORG) name: skywire + #prerelease: true before: diff --git a/.goreleaser-linux.yml b/.goreleaser-linux.yml index cb7db438f6..9806bc8582 100644 --- a/.goreleaser-linux.yml +++ b/.goreleaser-linux.yml @@ -1,14 +1,18 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com +env: + - name: GITHUB_ORG + value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p') release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. # Note: it can only be one: either github or gitlab or gitea github: - owner: skycoin + owner: $(GITHUB_ORG) name: skywire + #prerelease: true before: diff --git a/.goreleaser-windows.yml b/.goreleaser-windows.yml index 06ff090ba8..531514006f 100644 --- a/.goreleaser-windows.yml +++ b/.goreleaser-windows.yml @@ -1,12 +1,16 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com + +env: + - name: GITHUB_ORG + value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p') release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. # Note: it can only be one: either github or gitlab or gitea github: - owner: skycoin + owner: $(GITHUB_ORG) name: skywire #prerelease: true