Skip to content

fix: packaging templates the version constant - #2

Merged
ogorzalka merged 1 commit into
mainfrom
fix/packaging-version-constant
Oct 7, 2026
Merged

ogorzalka merged 1 commit into
mainfrom
fix/packaging-version-constant

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

The template defines define('%PLUGIN_NAME%_VERSION', '%plugin_version%'), but no packaging rule produced %plugin_version% there, so the development copy had to carry the placeholder itself or a packaging run hard-coded its version. Adds s|_VERSION', '[0-9.]*'|_VERSION', '%plugin_version%'|.

Checked: after refreshing pollora-test/public/content/plugins/pollora-demo-plugin from main, a packaging run leaves the template unchanged.

@ogorzalka
ogorzalka merged commit 12a2252 into main Oct 7, 2026
6 checks passed
@ogorzalka
ogorzalka deleted the fix/packaging-version-constant branch October 7, 2026 09:26
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