This cli application enables a ui5 lib version replacement within a pipeline like AzureDevops.
npm install ui5-versionmanager
npm i ui5-versionmanager
`
use in cli
`
ui5-vman --modify --mod='onPrem' --manifestPath='test/manifest.json' --indexPath='test/index.html' --versionEndpoint='https%3A%2F%2Fendpoint.com%2Fsap%2Fopu%2Fodata%2Flew%2Fui5bibversmanager_srv%2FGroupVersion%28ui5Group%3DMyGroup%27%27%2Cactive%3Dtrue%29%2Fversion%2F%24value'
`
argument/command | description
------------ | -------------
modify | command to modify files
mod | which mode should be execute? onPrem: OnPremise(SAP Gateway)/Fiori Launchpad(via index.html reference) or SCP (via neo-app.json comming soon)
manifestPath | path to manifest.json
indexPath | path to index.html
versionEndpoint | service endpoint which returns a valid ui5 lib version as string in response body
pipeline example (AzureDevops)
Following example shows a powerscript task from a build pipeline which will be managed by the ui5-versionmanager.
`
node .\node_modules\ui5-versionmanager\ui5-vman.js --modify --mod='onPrem' --manifestPath=$(manifestpath) --indexPath=$(indexpath) --versionEndpoint=$(endpoint)
``