Commit 3f0a3bf2 authored by Corbel Alex's avatar Corbel Alex

Update .gitlab-ci.yml

parent 4698ea14
Pipeline #142339430 waiting for manual action with stages
in 18 minutes and 4 seconds
......@@ -652,7 +652,7 @@ deploy-production-metadata:
# Calculate next version number.
# If the latest package version is released then
# we need to increment the major or minor version numbers.
local cmd="sfdx force:package:version:list --targetdevhubusername $devhub_username --packages $package_id --concise --released --json" && (echo $cmd >&2)
local cmd="sfdx force:package:version:list --targetdevhubusername $devhub_username --packages $package_id --concise --json" && (echo $cmd >&2)
local output=$($cmd) && (echo $output | jq '.' >&2)
local last_package_version=$(jq '.result | sort_by(-.MajorVersion, -.MinorVersion, -.PatchVersion, -.BuildNumber) | .[0]' <<< $output)
local is_released=$(jq -r '.IsReleased' <<< $last_package_version)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment