diff --git a/.github/scripts/create_draft_release.sh b/.github/scripts/create_draft_release.sh index 588704fa8..6c578b345 100755 --- a/.github/scripts/create_draft_release.sh +++ b/.github/scripts/create_draft_release.sh @@ -13,7 +13,8 @@ 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) +# CHANGELOG_FILE=$(cat CHANGELOG.md) +CHANGELOG_FILE=" " JSON_PAYLOAD=$(jq -n \ --arg tag_name "$RELEASE_TAG" \ diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 192b8329c..409481718 100755 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -57,12 +57,12 @@ jobs: with: fetch-depth: 0 - - name: Create changelog - uses: addnab/docker-run-action@3b7e5e2681a0bda95ee4ce0645c28ca1e78ce9ee - with: - image: githubchangeloggenerator/github-changelog-generator - options: -v ${{ github.workspace }}:/usr/local/src/your-app - run: github_changelog_generator -u kyma-project -p serverless -t ${{ secrets.GITHUB_TOKEN }} --enhancement-labels kind/feature,area/ci --bug-labels kind/bug --future-release ${{ github.event.inputs.name }} --unreleased-only --no-author + # - name: Create changelog + # uses: addnab/docker-run-action@3b7e5e2681a0bda95ee4ce0645c28ca1e78ce9ee + # with: + # image: githubchangeloggenerator/github-changelog-generator + # options: -v ${{ github.workspace }}:/usr/local/src/your-app + # run: github_changelog_generator -u kyma-project -p serverless -t ${{ secrets.GITHUB_TOKEN }} --enhancement-labels kind/feature,area/ci --bug-labels kind/bug --future-release ${{ github.event.inputs.name }} --unreleased-only --no-author - name: Create draft release id: create-draft