File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4239,10 +4239,19 @@ functions:
42394239 else
42404240 tag="${triggered_by_git_tag}"
42414241 fi
4242- echo "Setting version for papertrail to $tag, with product ${product}"
4242+
4243+ # Set the release publisher
4244+ submitter=$(node -p 'JSON.parse(fs.readFileSync("packages/cli-repl/package.json")).releasePublisher')
4245+ if [ -z "$submitter" ] || [ "$submitter" == "undefined" ]; then
4246+ echo "releasePublisher is not set"
4247+ exit 1
4248+ fi
4249+
4250+ echo "Setting version for papertrail to $tag, with product ${product} and submitter ${submitter}"
42434251 version="$(echo $tag | sed -e 's/^[vr]//')"
42444252 cat <<EOT > trace-expansions.yml
42454253 release_version: "$version"
4254+ submitter: "$submitter"
42464255 EOT
42474256 cat trace-expansions.yml
42484257 - command : expansions.update
You can’t perform that action at this time.
0 commit comments