Skip to content

Fix pipedv1 binary showing wrong version#6305

Merged
khanhtc1202 merged 2 commits into
pipe-cd:masterfrom
rishabh998186:bugfix/pipedv1-version-incorrect
Oct 10, 2025
Merged

Fix pipedv1 binary showing wrong version#6305
khanhtc1202 merged 2 commits into
pipe-cd:masterfrom
rishabh998186:bugfix/pipedv1-version-incorrect

Conversation

@rishabh998186
Copy link
Copy Markdown
Contributor

@rishabh998186 rishabh998186 commented Oct 10, 2025

Problem: Built pipedv1 binary shows v0.54.0-32-ge4f1a5d instead of correct pipedv1 version.

Root Cause: Makefile uses --match 'v[0-9]*.*' which only matches piped tags, not pipedv1 tags.

Solution:

  • Updated workflow to explicitly pass BUILD_VERSION

fixes #6297

Comment thread Makefile Outdated
Fixes pipe-cd#6297

Signed-off-by: rishabh998186 <rishabh998186@gmail.com.com>
@rishabh998186 rishabh998186 force-pushed the bugfix/pipedv1-version-incorrect branch from afafe88 to 17da42b Compare October 10, 2025 06:43
Copy link
Copy Markdown
Member

@khanhtc1202 khanhtc1202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@khanhtc1202 khanhtc1202 enabled auto-merge (squash) October 10, 2025 06:55
@khanhtc1202 khanhtc1202 merged commit dd4a75a into pipe-cd:master Oct 10, 2025
41 of 43 checks passed
GuruOrGoru pushed a commit to GuruOrGoru/pipecd that referenced this pull request Oct 10, 2025
Add version ldflags to plugin build process to inject version, git commit,
and build date information during compilation. This fixes the issue where
plugin binaries showed 'unspecified' for all version fields.

The build/plugin target now includes the same version ldflags as the
build/go target, ensuring consistency across all PipeCD binaries.

Fixes pipe-cd#6305
GuruOrGoru pushed a commit to GuruOrGoru/pipecd that referenced this pull request Oct 10, 2025
Add version ldflags to plugin build process to inject version, git commit,
and build date information during compilation. This fixes the issue where
plugin binaries showed 'unspecified' for all version fields.

The build/plugin target now includes the same version ldflags as the
build/go target, ensuring consistency across all PipeCD binaries.

Fixes pipe-cd#6305

Signed-off-by: GuruOrGoru <siddharthadhakall3722@gmail.com>
@github-actions github-actions Bot mentioned this pull request Dec 23, 2025
@github-actions github-actions Bot mentioned this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure version for pipedv1 is set correctly

2 participants