Skip to content

Commit

Permalink
update .goreleaser configs to populate github organization for forks
Browse files Browse the repository at this point in the history
  • Loading branch information
0pcom committed Jul 13, 2023
1 parent 41725b2 commit 9049b95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .goreleaser-archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


env:
- name: GITHUB_ORG
value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p')
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.
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


env:
- name: GITHUB_ORG
value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p')
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.
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# 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')
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.
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


env:
- name: GITHUB_ORG
value: $(shell git remote show origin | grep 'Fetch URL:' | sed -n 's#.*github\.com/\([^/]*\)/.*#\1#p')
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.
Expand Down

0 comments on commit 9049b95

Please sign in to comment.