diff --git a/.github/workflows/finalize.yml b/.github/workflows/finalize.yml deleted file mode 100644 index d8c92de..0000000 --- a/.github/workflows/finalize.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Finalize Release - -on: - workflow_dispatch: - inputs: - milestone: - description: 'Milestone title like 3.0.0-M1, 3.1.0-RC1, 3.2.0 etc.' - required: true - type: string - -jobs: - release: - uses: spring-projects/spring-integration-aws/.github/workflows/spring-finalize-release.yml@main - with: - milestone: ${{ inputs.milestone }} - repositoryTeam: artembilan - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/spring-finalize-release.yml b/.github/workflows/spring-finalize-release.yml index a9c9109..beeece2 100644 --- a/.github/workflows/spring-finalize-release.yml +++ b/.github/workflows/spring-finalize-release.yml @@ -36,7 +36,7 @@ jobs: --changelog.contributors.exclude.names=${{ inputs.repositoryTeam }} - name: GitHub Release - run: gh release create v${{ env.MILESTONE }} -F changelog.md + run: gh release create v${{ env.MILESTONE }} -F changelog.md ${{ (contains(env.MILESTONE, '-M') || contains(env.MILESTONE, '-RC')) && '--prerelease' }} - name: Close Milestone run: | @@ -45,13 +45,13 @@ jobs: gh api -X PATCH repos/$GITHUB_REPOSITORY/milestones/$MILESTONE_ID -f state='closed' --silent fi - - name: Announce Release on Slack - uses: slackapi/slack-github-action@v1.24.0 - env: - SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - with: - payload: | - { - "text": "${{ github.event.repository.name }}-announcing `${{ env.MILESTONE }}`" - } \ No newline at end of file +# - name: Announce Release on Slack +# uses: slackapi/slack-github-action@v1.24.0 +# env: +# SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }} +# SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK +# with: +# payload: | +# { +# "text": "${{ github.event.repository.name }}-announcing `${{ env.MILESTONE }}`" +# } \ No newline at end of file