diff --git a/.goreleaser-archlinux.yml b/.goreleaser-archlinux.yml index 3395a7a3d1..4ce8e1604d 100644 --- a/.goreleaser-archlinux.yml +++ b/.goreleaser-archlinux.yml @@ -1,16 +1,12 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com - -env: - GITHUB_ORG: $(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: $(GITHUB_ORG) + owner: ${{ env.GITHUB_REPOSITORY_OWNER }} name: skywire diff --git a/.goreleaser-darwin.yml b/.goreleaser-darwin.yml index 0ea1c79ff2..2ab34bb6ad 100644 --- a/.goreleaser-darwin.yml +++ b/.goreleaser-darwin.yml @@ -1,16 +1,12 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com - -env: - GITHUB_ORG: $(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: $(GITHUB_ORG) + owner: ${{ env.GITHUB_REPOSITORY_OWNER }} name: skywire diff --git a/.goreleaser-linux.yml b/.goreleaser-linux.yml index e1db414a72..54a49f8372 100644 --- a/.goreleaser-linux.yml +++ b/.goreleaser-linux.yml @@ -1,15 +1,13 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com -env: - GITHUB_ORG: $(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: $(GITHUB_ORG) + owner: ${{ env.GITHUB_REPOSITORY_OWNER }} name: skywire diff --git a/.goreleaser-windows.yml b/.goreleaser-windows.yml index 8d92dc82f7..81212bba0c 100644 --- a/.goreleaser-windows.yml +++ b/.goreleaser-windows.yml @@ -1,16 +1,12 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com - -env: - GITHUB_ORG: $(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: $(GITHUB_ORG) + owner: ${{ env.GITHUB_REPOSITORY_OWNER }} name: skywire #prerelease: true