From e26621e038c043bd74a0a93868f2146470c8f213 Mon Sep 17 00:00:00 2001 From: William Chu Date: Fri, 24 Jan 2025 11:52:12 +1100 Subject: [PATCH] chore: rename release please tag --- .github/workflows/release-please.yaml | 5 ++--- release-please-config.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index fa528a2..55ed3e4 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -22,8 +22,7 @@ jobs: cli-release-created: ${{ steps.release.outputs['release_created'] }} server-release-created: ${{ steps.release.outputs['release_created'] }} helm-release-created: ${{ steps.release.outputs['charts/gitops--release_created'] }} - cli-version: ${{ steps.release.outputs['tag_name'] }} - server-version: server-v${{ steps.release.outputs['major'] }}.${{ steps.release.outputs['minor']}}.${{steps.release.outputs['patch']}} + server-version: ${{ steps.release.outputs['tag_name'] }} helm-version: ${{ steps.release.outputs['charts/gitops--tag_name'] }} sha: ${{ steps.release.outputs.sha }} steps: @@ -67,7 +66,7 @@ jobs: name: Build and Push Docker Image uses: uptick/actions/.github/workflows/ci.yaml@main needs: release-please - if: ${{ needs.release-please.outputs.server-version }} + if: ${{ needs.release-please.outputs.server-release-created}} secrets: SECRET_ENV: "${{ secrets.CLUSTER_KEY }}" #https://github.com/uptick/actions/blob/main/.github/workflows/ci.yaml diff --git a/release-please-config.json b/release-please-config.json index 54a9ff3..bf4f413 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,7 +1,7 @@ { "packages": { ".": { - "package-name": "cli", + "package-name": "gitops", "release-type": "python", "changelog-path": "CHANGELOG.md", "exclude-paths": [