Skip to content

Commit

Permalink
chore: update .env file with each release (#771)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>
  • Loading branch information
Anton Baliasnikov authored Oct 27, 2023
1 parent 55c068d commit 5318657
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"prepareCmd": "npm version ${nextRelease.version} --git-tag-version false"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i.bak \"s/PRISM_AGENT_VERSION=.*/PRISM_AGENT_VERSION=${nextRelease.version}/\" ./infrastructure/local/.env && rm -f ./infrastructure/local/.env.bak"
}
],
[
"@semantic-release/exec",
{
Expand Down Expand Up @@ -104,9 +110,10 @@
"prism-agent/service/api/http/prism-agent-openapi-spec.yaml",
"infrastructure/charts/agent/Chart.yaml",
"infrastructure/charts/index.yaml",
"infrastructure/charts/*.tgz"
"infrastructure/charts/*.tgz",
"infrastructure/local/.env"
],
"message": "chore(release): cut atala prism ${nextRelease.version} release\n\n${nextRelease.notes}\n\nSigned-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>"
"message": "chore(release): cut open enterprise agent ${nextRelease.version} release\n\n${nextRelease.notes}\n\nSigned-off-by: Anton Baliasnikov <anton.baliasnikov@iohk.io>"
}
],
[
Expand All @@ -116,7 +123,7 @@
"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"
"text": "A new version of Opent Enterprise Agent successfully released!\nVersion: `$npm_package_version`\nTag: $repo_url/releases/tag/$npm_package_version\n\nRelease notes:\n$release_notes"
}
}
]
Expand Down

0 comments on commit 5318657

Please sign in to comment.