diff --git a/.github/workflows/bump-tags.yml b/.github/workflows/bump-tags.yml index af445d7fd1..fe1c432be6 100644 --- a/.github/workflows/bump-tags.yml +++ b/.github/workflows/bump-tags.yml @@ -3,9 +3,9 @@ name: Bump git tags on: workflow_call: outputs: - version: + next_version: description: "Tag name" - value: ${{ jobs.bump_version.outputs.version }} + value: ${{ jobs.bump_version.outputs.next_version }} secrets: FLYTE_BOT_PAT: required: true @@ -14,7 +14,7 @@ jobs: name: Bump Version runs-on: ubuntu-latest outputs: - version: ${{ steps.bump_version.outputs.tag }} + next_version: ${{ steps.get_semver.outputs.next_version }} steps: - uses: actions/checkout@v3 with: @@ -24,8 +24,7 @@ jobs: id: get_semver with: bump_level: "patch" - - - name: Print current and next version + - name: Print current and next versions run: | echo "Current version: ${{ steps.get_semver.outputs.current_version }}" echo "Next version: ${{ steps.get_semver.outputs.next_version }}" diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 959f0c6884..1780ed2367 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -154,7 +154,7 @@ jobs: - flytescheduler uses: ./.github/workflows/publish.yml with: - version: ${{ needs.bump-tags.outputs.version }} + version: ${{ needs.bump-tags.outputs.next_version }} component: ${{ matrix.component }} dockerfile: Dockerfile.${{ matrix.component }} push: true