留言板
Liferay 7 - automating theme release
I managed to automate the release of our osgi modules using Gradle Release plugin.
Command
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.
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.