Skip to content

Commit

Permalink
chore: Install new semantic release plugin in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Yoriyasu Yano <[email protected]>
  • Loading branch information
yorinasub17 committed Apr 7, 2024
1 parent 88aab54 commit d15db97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,5 +286,5 @@ jobs:
export GITHUB_APP_PRIVATE_KEY="$(echo -n "$GITHUB_APP_PRIVATE_KEY_B64" | base64 -d)"
export GITHUB_TOKEN="$(/tmp/github-app-token --repo fensak-io/senc)"
npm install semantic-release-replace-plugin @semantic-release/git
npm install conventional-changelog-conventionalcommits semantic-release-replace-plugin @semantic-release/git
npx -y semantic-release@^22.0.5
7 changes: 6 additions & 1 deletion _ci/main.sen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ import {
outPrefix,
} from "./common.ts";

const semanticReleasePlugins = [
"conventional-changelog-conventionalcommits",
"semantic-release-replace-plugin",
"@semantic-release/git",
];
const filterMainBranches = {
branches: {
only: ["main", "release"],
Expand Down Expand Up @@ -160,7 +165,7 @@ tar -xvf github-app-token_linux_amd64.tar.gz
export GITHUB_APP_PRIVATE_KEY="$(echo -n "$GITHUB_APP_PRIVATE_KEY_B64" | base64 -d)"
export GITHUB_TOKEN="$(/tmp/github-app-token --repo fensak-io/senc)"
npm install semantic-release-replace-plugin @semantic-release/git
npm install ${semanticReleasePlugins.join(" ")}
npx -y semantic-release@^22.0.5
`,
},
Expand Down

0 comments on commit d15db97

Please sign in to comment.