Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Install new semantic release plugin in workflow #69

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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