Skip to content

Commit

Permalink
[ISSUE #19981] further debugging on part-to-bump yet again and again
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi297 committed Jan 6, 2023
1 parent 23e8458 commit a0c697e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/publish-cdk-command-manually.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish CDK Manually
on:
push:
paths:
- '**.yml'
branches:
- issue-19981_avoid-race-condition-on-airbyte-cdk-release
inputs:
Expand All @@ -10,12 +12,12 @@ on:
default: "airbytehq/airbyte"
gitref:
description: "The git ref to check out from the specified repository."
required: false
required: true
default: issue-19981_avoid-race-condition-on-airbyte-cdk-release
part-to-bump:
description: "Choose the type of version upgrade : major|minor|patch"
required: false
default: patch
required: true
default: minor
workflow_dispatch:
inputs:
repo:
Expand All @@ -42,6 +44,11 @@ jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: "Debug"
run: |
echo ${{ github.event.inputs.repo }}
echo ${{ github.event.inputs.gitref }}
echo ${{ github.event.inputs.part-to-bump }}
- uses: actions/setup-python@v4
with:
python-version: "3.9"
Expand All @@ -54,14 +61,13 @@ jobs:
run: |
pip install bumpversion
cd airbyte-cdk/python
echo part-to-bump=${{ github.event.inputs.part-to-bump }}
bumpversion ${{ github.event.inputs.part-to-bump }}
bumpversion patch
- name: Commit and Push Changes
if: success()
uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: airbyte-cdk/python/setup.py
commit_message: 🤖 Bump version of Airbyte CDK
commit_message: 🤖 Bump patch version of Airbyte CDK
commit_user_name: Octavia Squidington III
commit_user_email: octavia-squidington-iii@users.noreply.github.com

Expand Down

0 comments on commit a0c697e

Please sign in to comment.