From 4f78ccd8da039231506cba519d5d8d504c448a34 Mon Sep 17 00:00:00 2001 From: Zdenko Kovac <128780884+zdenko-kovac@users.noreply.github.com> Date: Tue, 17 Oct 2023 12:02:50 +0200 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 31bc31e..7792574 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,26 +64,7 @@ jobs: - name: Determine target release id: get_target_release run: | - # create_release=true - - # if ${{ github.event_name == 'schedule' }}; then - # commits_count=$(git rev-list --count --no-merges ${{ steps.get_current_release.outputs.tag }}..HEAD --before=1.hour) - # if [ $commits_count -eq 0 ]; then - # create_release=false - # echo "There are no commits since latest release, nothing to do." - # fi - # version_bump=patch - # else - version_bump=${{ inputs.version-bump }} - # fi - - echo "Create release: $create_release" - echo "create_release=$create_release" >> $GITHUB_OUTPUT - - # if [ "$create_release" != true ]; then - # exit 0 - # fi - + version_bump=${{ inputs.version-bump }} desired_version=${{ inputs.desired-version }} current_version=${{ steps.get_current_release.outputs.version }} @@ -128,14 +109,12 @@ jobs: - name: Determine target commit id: get_target_commit - # if: steps.get_target_release.outputs.create_release == 'true' run: | sha=$(git rev-parse HEAD) echo "Target commit: $sha" echo "sha=$sha" >> $GITHUB_OUTPUT - name: Wait for check suites to complete - # if: steps.get_target_release.outputs.create_release == 'true' uses: sap-contributions/await-check-suites@master with: ref: ${{ steps.get_target_commit.outputs.sha }} @@ -145,7 +124,6 @@ jobs: appSlugFilter: github-actions - name: Create Release - # if: steps.get_target_release.outputs.create_release == 'true' env: GH_TOKEN: ${{ secrets.WORKFLOW_USER_GH_TOKEN }} run: |