Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions build/ci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,38 @@ functions:
- package_name
- meta_package_name
binary: build/package/rename-pkg.sh
"trace artifacts":
- command: shell.exec
params:
include_expansions_in_env:
- unstable
script: |
# Get unstable to determine product name
if [[ "${unstable:-}" == "-unstable" ]]; then
product="atlascli-snapshot"
else
product="atlascli"
fi

cat <<EOT > expansions.yaml
product: "$product"
EOT
- command: expansions.update
params:
ignore_missing_file: true
file: src/github.com/mongodb/mongodb-atlas-cli/expansions.yaml
- command: papertrail.trace
params:
key_id: ${papertrail_key_id}
secret_key: ${papertrail_secret_key}
product: ${product}
version: ${version}
filenames:
- "src/github.com/mongodb/mongodb-atlas-cli/dist/*.tar.gz"
- "src/github.com/mongodb/mongodb-atlas-cli/dist/*.zip"
- "src/github.com/mongodb/mongodb-atlas-cli/dist/*.deb"
- "src/github.com/mongodb/mongodb-atlas-cli/dist/*.rpm"
- "src/github.com/mongodb/mongodb-atlas-cli/dist/*.msi"
"send slack notification":
- command: subprocess.exec
type: test
Expand Down Expand Up @@ -482,6 +514,7 @@ tasks:
permissions: private
content_type: ${content_type|application/x-gzip}
display_name: downloads-center-new-
- func: "trace artifacts"
- func: "send slack notification"
- name: push_atlascli_generate
patchable: false
Expand Down
Loading