constos=require('os')// this script unbundles the published packages output// from changesets action to a key-value pair to be used// with our publishing CI workflowdata=process.argv[2]data=JSON.parse(data)builder=falsefor(constiofdata){constname=i.name.replace("@eth-optimism/","")if(name!=='l2geth'){builder=true}constversion=i.versionprocess.stdout.write(`::set-output name=${name}::${version}`+os.EOL)}if(builder){process.stdout.write(`::set-output name=builder::true`+os.EOL)}