Skip to content

Commit

Permalink
Merge pull request #118 from fluxcd/fix-release
Browse files Browse the repository at this point in the history
Set GH token for goreleaser
  • Loading branch information
stefanprodan authored Oct 26, 2021
2 parents 5539357 + 49dd526 commit ecbdf14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.16
# Similar as to https://github.com/fluxcd/toolkit/blob/master/.github/workflows/release.yaml#L20-L27
- name: Download release notes utility
env:
GH_REL_URL: https://github.com/buchanae/github-release-notes/releases/download/0.2.0/github-release-notes-linux-amd64-0.2.0.tar.gz
Expand All @@ -26,10 +25,12 @@ jobs:
run: |
echo 'CHANGELOG' > /tmp/release.txt
github-release-notes -org fluxcd -repo go-git-providers -since-latest-release >> /tmp/release.txt
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --release-notes=/tmp/release.txt --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITPROVIDER_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
VER?=0.0.1
TEST_VERBOSE?=
TEST_PATTERN?=./...
TEST_STOP_ON_ERROR?=
PKG_CONFIG_PATH?=${PKG_CONFIG_PATH}

all: test

Expand All @@ -17,7 +15,3 @@ vet:

test: tidy fmt vet
go test ${TEST_VERBOSE} ${TEST_STOP_ON_ERROR} -race -coverprofile=coverage.txt -covermode=atomic ${TEST_PATTERN}

release:
git checkout main
git pull
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,6 @@ If you need to run `make test` for your fork/branch you may need to supply the f
- TEST_VERBOSE: Set to '-v' to emit test output for debugging purposes
- CLEANUP_ALL: Set to delete all test repos after testing.

## Maintainers

In alphabetical order:

- Mike Beaumont, [@michaelbeaumont](https://github.com/michaelbeaumont)
- Sara El-Zayat, [@sarataha](https://github.com/sarataha)
- Simon Howe, [@foot](https://github.com/foot)
- Dinos Kousidis, [@dinosk](https://github.com/dinosk)
- Stefan Prodan, [@stefanprodan](https://github.com/stefanprodan)
- Yiannis Triantafyllopoulos, [@yiannistri](https://github.com/yiannistri)

## Getting Help

If you have any questions about this library:
Expand Down

0 comments on commit ecbdf14

Please sign in to comment.