Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Corbel Alex
sfdx-cicd-demo
Commits
3f0a3bf2
Commit
3f0a3bf2
authored
May 04, 2020
by
Corbel Alex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
4698ea14
Pipeline
#142339430
waiting for manual action with stages
in 18 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
3f0a3bf2
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment