diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b16e3779d..f38ea2a7e 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -277,6 +277,31 @@ jobs: DEFAULT_BUMP: patch RELEASE_BRANCHES: ${{ steps.extract_branch.outputs.branch_name }} + bump_component_version: + needs: [changes, bump_version] + if: ${{ needs.changes.outputs.packages != '[]' || github.event_name != 'pull_request' }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + package: ${{ fromJSON(needs.changes.outputs.packages) }} + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: '0' + - name: Set branch name + id: extract_branch + run: echo "branch_name=$(echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}})" >> "$GITHUB_OUTPUT" + - name: Bump version and push tag + id: bump_version + uses: anothrNick/github-tag-action@1.36.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + DEFAULT_BUMP: patch + CUSTOM_TAG: ${{ matrix.package }}/${{ needs.bump_version.outputs.version }} + RELEASE_BRANCHES: ${{ steps.extract_branch.outputs.branch_name }} + goreleaser: needs: [changes, bump_version] if: ${{ needs.changes.outputs.packages != '[]' }} diff --git a/flyteadmin/go.mod b/flyteadmin/go.mod index ea1389870..183feefcc 100644 --- a/flyteadmin/go.mod +++ b/flyteadmin/go.mod @@ -14,7 +14,6 @@ require ( github.com/coreos/go-oidc v2.2.1+incompatible github.com/evanphx/json-patch v4.12.0+incompatible github.com/flyteorg/flyteidl v1.3.14 - github.com/pingsutw/flyte-monorepo/flyte v1.0.6 github.com/flyteorg/flyteplugins v1.0.45 github.com/flyteorg/flytepropeller v1.1.70 github.com/flyteorg/flytestdlib v1.0.15 diff --git a/flyteidl/go.mod b/flyteidl/go.mod index ece39db39..6b7bc5f7c 100644 --- a/flyteidl/go.mod +++ b/flyteidl/go.mod @@ -1,4 +1,4 @@ -module github.com/flyteorg/flyteidl +module github.com/pingsutw/flyte-monorepo/flyteidl go 1.19