addVersion

See also: Actions

Description

Add a new version to an app. By default, the version is added with status private. The version parameter (also known as the build number) must be a unique positive number and represents an ordered and unique identifier for the version. If the app is not directly installable, provide a web site link URL or a binary download URL for the url parameter. Use '--url @last' to set the URL to the URL from the base version. Use '--options binary' if the link is to a binary. For an installable app, the hosting parameter must be provided and the url parameter should reference a Marketplace artifact asset name or partial URL created using the addAsset action or similar. Version name (usually following a user understandable name pattern like 5.3.0) will be taken from the version identified in the artifact when provided, otherwise it must be provided by the name parameter. Information is copied from the latest version of the app with the hosting specified and field parameters can be used to override specific values for the version. Specifically, releaseNotes, releaseSummary, and moreDetails can be set using something like '--field "releaseSummary=Many improvements and fixes"'. Other field values can also be set in the JSON representation of the version, but this is a user responsibility and not officially supported. It is recommended to set more complicated fields (like compatibility) in the UI after the new version is added.

Required Parameters

app, version, url, hosting

Optional Parameters

vendor, field, options

Type

Create

Category

Apps

Output Formats

Replacement Variables

vendor, vendorName, app, appName, version, versionName

Since Version9.8

Examples

Related How To's



Find answers from the community.


Ask a question to the community.


Log a request with our support team.


Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.