Skip to content

fix(build): Add legacy artifact name for backward compatibility#743

Merged
BYK merged 1 commit intomasterfrom
fix/legacy-artifact-compat
Feb 6, 2026
Merged

fix(build): Add legacy artifact name for backward compatibility#743
BYK merged 1 commit intomasterfrom
fix/legacy-artifact-compat

Conversation

@BYK
Copy link
Member

@BYK BYK commented Feb 6, 2026

Summary

Fixes publishing failure when using the currently released Craft version.

The older Craft version uses legacy artifact lookup where artifact.name === commit SHA. Since we renamed artifacts to craft-binary and craft-docs, publishing fails because it can't find an artifact named with the commit SHA.

Changes

  • Upload an additional artifact with the commit SHA name for backward compatibility
  • This allows the release to be published with the current Craft version

Notes

This can be removed after 2.21.0 is released since the new version supports the named artifacts approach.

Related

Upload an additional artifact with the commit SHA name to support older
Craft versions that use the legacy artifact lookup (artifact.name === revision).

This allows publishing to work with the currently released Craft version
while we transition to the new named artifacts approach.

Can be removed after 2.21.0 is released.
@BYK BYK merged commit 2bd5eb6 into master Feb 6, 2026
16 checks passed
@BYK BYK deleted the fix/legacy-artifact-compat branch February 6, 2026 18:09
BYK added a commit that referenced this pull request Feb 6, 2026
BYK added a commit that referenced this pull request Feb 6, 2026
## Summary
- Reverts #743 now that 2.21.0 has been released
- Legacy artifact naming is no longer needed since Craft now uses the
workflow-based artifact filtering approach
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