1- # How to build a Swagger-Promote release package
1+ # How to build a APIM-CLI release package
22
33With that, Release-Package is created and Swagger-Promote-Core is deployed to Maven-Central.
44
55### To create a new release use the following instructions:
661 . When the develop branch is stable and a new release should be created, merge everything from develop into master branch (e.g. using Pull-Request)
772 . Checkout the master branch
883 . Open the main project directory
9- ` cd C:\workspaces\api-management\apimanager-swagger-promote `
9+ ` cd C:\workspaces\apim-cli `
10104 . Validate a clean state on master (no uncommited changes)
1111` git branch -avv `
12126 . Prepare the release
@@ -21,7 +21,7 @@ No need to run the tests, as they have been automatically executed already on Tr
2121- Accept or change the proposed version numbers.
2222- The SCM-Release-Tag label should be the version number. E.g. ` 1.6.2 `
2323Use the built Pre-Release from folder:
24- ` apimanager-swagger-promote \modules\distribution\target`
24+ ` apim-cli \modules\distribution\target`
2525to perform some final tests.
2626If you are not happy with the actual build for any reason, you need to rollback the actual release prepare:
2727` mvn release:rollback `
@@ -42,8 +42,8 @@ Copy the generated checksum and insert it into the file: `tools\chocolateyinstal
4242` choco pack `
4343Test the installation of this package:
4444` choco install axway-swagger-promote -s . `
45- Execute the Swagger-Promote as shown:
46- ` api- import ` or ` api-export `
45+ Execute the CLI as shown:
46+ ` apim api import` or ` apim api get `
4747Finally push the package to Chocolatey:
4848` choco push --api-key <api-key-goes-here> axway-swagger-promote.1.6.2.nupkg `
4949Lastly make sure to merge all changes from master branch back into develop
0 commit comments