Skip to content

Commit

Permalink
Fix release note anthropic api key & contributors list
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdzumair committed Nov 6, 2024
1 parent 80d3235 commit 68ba10c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@ jobs:
run: sudo apt-get install -y jq

- name: Generate Release Notes
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: |
make generate-notes VERSION_OLD=${{ needs.update_version.outputs.previous_version }} VERSION_NEW=${{ github.ref_name }} > release_notes.md
make generate-notes VERSION_OLD=${{ needs.update_version.outputs.previous_version }} VERSION_NEW=${{ github.ref_name }} ANTHROPIC_API_KEY=${{ secrets.ANTHROPIC_API_KEY }} > release_notes.md
- name: Update Release Notes
uses: softprops/action-gh-release@v2
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ HTTPS_PROXY = http://172.17.0.1:1081
# Variables to hold version tags and contributor names
VERSION_OLD ?=
VERSION_NEW ?=
CONTRIBUTORS ?=
CONTRIBUTORS ?= $(shell git log --pretty=format:'%an' $(VERSION_OLD)..$(VERSION_NEW) | sort | uniq)

# Claude API settings
CLAUDE_MODEL ?= claude-3-5-sonnet-20241022
Expand Down Expand Up @@ -103,9 +103,6 @@ ifndef VERSION_NEW
@echo "Error: VERSION_NEW is not set"
@exit 1
endif
ifndef CONTRIBUTORS
@echo "Warning: CONTRIBUTORS not set. Continuing without contributors."
endif
ifndef ANTHROPIC_API_KEY
@echo "Error: ANTHROPIC_API_KEY is not set"
@exit 1
Expand Down

0 comments on commit 68ba10c

Please sign in to comment.