Skip to content

Commit

Permalink
Use default github token to publish the release (#737)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay authored Feb 24, 2022
1 parent 5962b37 commit fc1eac8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .ci/create-release-github.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

OPERATOR_VERSION=$(git describe --tags)
echo "${GH_WRITE_TOKEN}" | gh auth login --with-token

gh config set prompt disabled
gh release create \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: "create the release in GitHub"
env:
GH_WRITE_TOKEN: ${{ secrets.GH_WRITE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./.ci/create-release-github.sh

- name: "refresh go proxy module info on release"
Expand Down

0 comments on commit fc1eac8

Please sign in to comment.