From 6c5e5f3d9922e8851d7ecf40a7a8ce54752e0661 Mon Sep 17 00:00:00 2001 From: maxi297 Date: Wed, 18 Jan 2023 14:10:00 -0500 Subject: [PATCH] [ISSUE #19981] fix unexpected tag error --- .github/workflows/publish-cdk-command-manually.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-cdk-command-manually.yml b/.github/workflows/publish-cdk-command-manually.yml index 98fd78964427..4ce6d1c26cf0 100644 --- a/.github/workflows/publish-cdk-command-manually.yml +++ b/.github/workflows/publish-cdk-command-manually.yml @@ -52,7 +52,6 @@ jobs: new_version="$(grep -i 'current_version = ' .bumpversion.cfg | sed -e 's/.* = //')" awk -v NEW_VERSION="$new_version" -v CHANGELOG_MESSAGE="${{ github.event.inputs.changelog-message }}" 'NR==3{print "## " NEW_VERSION "\n" CHANGELOG_MESSAGE "\n"}1' CHANGELOG.md > tmp && mv tmp CHANGELOG.md - name: Commit and Push Changes - if: success() uses: stefanzweifel/git-auto-commit-action@v4 with: file_pattern: airbyte-cdk/python/setup.py airbyte-cdk/python/.bumpversion.cfg airbyte-cdk/python/CHANGELOG.md @@ -60,7 +59,7 @@ jobs: commit_user_name: Octavia Squidington III commit_user_email: octavia-squidington-iii@users.noreply.github.com - name: Post failure to Slack channel dev-connectors-extensibility - if: !success() + if: ${{ failure() }} uses: slackapi/slack-github-action@v1.23.0 continue-on-error: true with: @@ -107,7 +106,7 @@ jobs: - name: Build CDK Package run: SUB_BUILD=CONNECTORS_BASE ./gradlew --no-daemon --no-build-cache :airbyte-cdk:python:build - name: Post failure to Slack channel dev-connectors-extensibility - if: !success() + if: ${{ failure() }} uses: slackapi/slack-github-action@v1.23.0 continue-on-error: true with: @@ -167,7 +166,6 @@ jobs: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - name: Post success to Slack channel dev-connectors-extensibility - if: success() uses: slackapi/slack-github-action@v1.23.0 continue-on-error: true with: @@ -195,7 +193,7 @@ jobs: env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }} - name: Post failure to Slack channel dev-connectors-extensibility - if: !success() + if: ${{ failure() }} uses: slackapi/slack-github-action@v1.23.0 continue-on-error: true with: