You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by pi...@apache.org on 2025/04/16 18:29:50 UTC

(iggy) branch master updated: fix(ci): fix publish server script tag validation (#1692)

This is an automated email from the ASF dual-hosted git repository.

piotr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 02d241f1 fix(ci): fix publish server script tag validation (#1692)
02d241f1 is described below

commit 02d241f17c01e5e082231df2cea572db95fd18fe
Author: Piotr Gankiewicz <pi...@gmail.com>
AuthorDate: Wed Apr 16 20:29:46 2025 +0200

    fix(ci): fix publish server script tag validation (#1692)
---
 .github/workflows/publish_server.yml | 2 +-
 .github/workflows/release_cli.yml    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish_server.yml b/.github/workflows/publish_server.yml
index 26be9cdb..8d9af206 100644
--- a/.github/workflows/publish_server.yml
+++ b/.github/workflows/publish_server.yml
@@ -74,7 +74,7 @@ jobs:
       - name: Check if version from Cargo.toml is the same as the tag
         id: check_git_tag
         run: |
-          if [[ "iggy-${{ steps.extract_version.outputs.server_version }}" == "${{ steps.extract_tag.outputs.tag_name }}" ]];
+          if [[ "server-${{ steps.extract_version.outputs.server_version }}" == "${{ steps.extract_tag.outputs.tag_name }}" ]];
           then
             echo "::notice ::Tag ${{ steps.extract_tag.outputs.tag_name }} matches the version in Cargo.toml"
             echo "tag_matches=true" >> "$GITHUB_OUTPUT"
diff --git a/.github/workflows/release_cli.yml b/.github/workflows/release_cli.yml
index dace1705..0bd20285 100644
--- a/.github/workflows/release_cli.yml
+++ b/.github/workflows/release_cli.yml
@@ -91,7 +91,7 @@ jobs:
           tool: cross
 
       - name: Build ${{ matrix.platform.target }} release binary
-        run: cross +stable build --verbose --release --target ${{ matrix.platform.target }}
+        run: cross +stable build --verbose --release --target ${{ matrix.platform.target }} -p iggy
 
       - name: Collect ${{ matrix.platform.target }} executable
         run: |