Skip to content

Comments

Improve version plugin and workflow configuration#7

Merged
diogot merged 4 commits intomainfrom
improve-version-plugin
Jan 22, 2026
Merged

Improve version plugin and workflow configuration#7
diogot merged 4 commits intomainfrom
improve-version-plugin

Conversation

@diogot
Copy link
Owner

@diogot diogot commented Jan 22, 2026

Summary

  • Switch BuildVersionPlugin from prebuildCommand to buildCommand with explicit input/output files, ensuring automatic rebuilds when VERSION changes
  • Add concurrency groups to workflows to cancel in-progress runs when new commits arrive
  • Add Swift package caching to speed up CI and release builds

Test plan

  • Build succeeds with version plugin changes
  • Verified VERSION file changes trigger rebuild without swift package clean
  • All tests pass

🤖 Generated with Claude Code

diogot and others added 4 commits January 22, 2026 00:32
Switch from prebuildCommand to buildCommand with explicit inputFiles
and outputFiles. This ensures the build system tracks VERSION as a
dependency and automatically regenerates GeneratedVersion.swift when
it changes, without requiring `swift package clean`.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add concurrency groups to cancel in-progress runs when new commits arrive
- Add Swift package caching using .build directory keyed on Package.swift

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@diogot diogot merged commit 2ddf680 into main Jan 22, 2026
1 check passed
@diogot diogot deleted the improve-version-plugin branch January 22, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant