留言板

Liferay 7 - automating theme release

Enrico Costanzi,修改在6 年前。

Liferay 7 - automating theme release

New Member 帖子: 21 加入日期: 17-2-11 最近的帖子
I managed to automate the release of our osgi modules using Gradle Release plugin.

Command

$ gradle <modulename>:release -Prelease.useAutomaticVersion=true -Prelease.releaseVersion=1.0.0 -Prelease.newVersion=1.1.0-SNAPSHOT
</modulename>


allowed us to change module version, committing and tagging the new release on git and moving to the next version.

I couldn't achieve the same results for themes. The version there is taken from package.json so I cannot find a way for mixing up gradle and npm behaviour to achieve the same flow (new-version, commit, tag, push, new-snapshot, commit, push).

Any suggestion is welcome. Maybe I'm following the wrong path.