Skip to content

Commit

Permalink
feat: blabla
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Oct 27, 2023
1 parent 55c068d commit 6a8a690
Showing 1 changed file with 1 addition and 77 deletions.
78 changes: 1 addition & 77 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,83 +41,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "sbt dumpLicenseReportAggregate && cp ./target/license-reports/root-licenses.md ./DEPENDENCIES.md"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "sbt \"prismAgentServer/test:runMain io.iohk.atala.api.util.Tapir2StaticOAS ${process.env.PWD}/prism-agent/service/api/http/prism-agent-openapi-spec.yaml ${nextRelease.version}\""
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "sbt \"release release-version ${nextRelease.version} next-version ${nextRelease.version}-SNAPSHOT with-defaults\""
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yq eval -i '.appVersion = \"${nextRelease.version}\" | .version = \"${nextRelease.version}\"' ./infrastructure/charts/agent/Chart.yaml"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "helm package -d infrastructure/charts -u infrastructure/charts/agent"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "helm repo index --url \"https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts\" --merge index.yaml infrastructure/charts"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yq -i -P infrastructure/charts/index.yaml"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "docker buildx build --platform=linux/arm64,linux/amd64 --push -t ghcr.io/input-output-hk/prism-agent:${nextRelease.version} ./prism-agent/service/server/target/docker/stage"
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"version.sbt",
"CHANGELOG.md",
"DEPENDENCIES.md",
"package.json",
"package-lock.json",
"prism-agent/service/api/http/prism-agent-openapi-spec.yaml",
"infrastructure/charts/agent/Chart.yaml",
"infrastructure/charts/index.yaml",
"infrastructure/charts/*.tgz"
],
"message": "chore(release): cut atala prism ${nextRelease.version} release\n\n${nextRelease.notes}\n\nSigned-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>"
}
],
[
"semantic-release-slack-bot",
{
"notifyOnSuccess": true,
"notifyOnFail": true,
"markdownReleaseNotes": true,
"onSuccessTemplate": {
"text": "A new version of Atala PRISM successfully released!\nVersion: `$npm_package_version`\nTag: $repo_url/releases/tag/$npm_package_version\n\nRelease notes:\n$release_notes"
}
"prepareCmd": "sed -i.bak \"s/PRISM_AGENT_VERSION=.*/PRISM_AGENT_VERSION=${nextRelease.version}/\" ./infrastructure/local/.env && rm -f ./infrastructure/local/.env.bak"
}
]
]
Expand Down

0 comments on commit 6a8a690

Please sign in to comment.