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 32a4c04 commit 41725b2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .goreleaser-archlinux.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
7 changes: 6 additions & 1 deletion .goreleaser-darwin.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 5 additions & 1 deletion .goreleaser-linux.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 5 additions & 1 deletion .goreleaser-windows.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 41725b2

Please sign in to comment.