Skip to content

Commit

Permalink
Bundle env.sh to release archive (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Apr 29, 2021
1 parent b86e668 commit 8352f3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ gh-pr-comment.upx
gh-pr-upload.upx
dist
*.sig
gh-pr-comment-env.sh
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ archives:
format_overrides:
- goos: windows
format: zip
files:
- gh-pr-comment-env.sh
before:
hooks:
- cp env.sh gh-pr-comment-env.sh
checksum:
name_template: 'checksums.txt'
signs:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ $ docker run [your options...] \
$(bash <(curl -s https://raw.githubusercontent.com/at-wat/gh-pr-comment/master/env.sh)) \
image commands...
```
`env.sh` is also bundled as `gh-pr-comment-env.sh` in release archives.

### General
- ***GITHUB\_TOKEN***: token with comment write permission
Expand Down

0 comments on commit 8352f3b

Please sign in to comment.