Skip to content

Commit

Permalink
Github token env updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AbineshECAD committed Mar 30, 2022
1 parent abd7f35 commit 79f02b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

- name: setup release environment
run: |-
echo 'GITHUB_TOKEN=${{secrets.GORELEASER_ACCESS_TOKEN}}' > .release-env
echo 'GITHUB_TOKEN=${{secrets.GH_PAT}}' > .release-env
- name: Run GoReleaser
run: make release

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ sysroot-unpack:

.PHONY: release
release:
# @if [ ! -f ".release-env" ]; then \
# echo "\033[91m.release-env is required for release\033[0m";\
# exit 1;\
# fi
@if [ ! -f ".release-env" ]; then \
echo "\033[91m.release-env is required for release\033[0m";\
exit 1;\
fi
docker run \
--rm \
--privileged \
Expand Down

0 comments on commit 79f02b2

Please sign in to comment.