Skip to content

Commit

Permalink
Do not generate changelog during release (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Jun 4, 2024
1 parent 25c725d commit 7353907
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 64 deletions.
56 changes: 0 additions & 56 deletions .github/scripts/create_changelog.sh

This file was deleted.

3 changes: 1 addition & 2 deletions .github/scripts/create_draft_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ RELEASE_TAG=$1
REPOSITORY=${REPOSITORY:-kyma-project/serverless-manager}
GITHUB_URL=https://api.github.com/repos/${REPOSITORY}
GITHUB_AUTH_HEADER="Authorization: Bearer ${GITHUB_TOKEN}"
CHANGELOG_FILE=$(cat CHANGELOG.md)

JSON_PAYLOAD=$(jq -n \
--arg tag_name "$RELEASE_TAG" \
--arg name "$RELEASE_TAG" \
--arg body "$CHANGELOG_FILE" \
--arg body "" \
'{
"tag_name": $tag_name,
"name": $name,
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ jobs:

- uses: ./.github/actions/setup-go

- name: Create changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULL_BASE_REF: ${{ github.event.inputs.name }}
run: ./.github/scripts/create_changelog.sh ${{ github.event.inputs.name }}

- name: Create draft release
id: create-draft
env:
Expand Down

0 comments on commit 7353907

Please sign in to comment.