Skip to content

Commit

Permalink
ci(multirelease): -
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Lauer authored and Jake Lauer committed Jul 22, 2024
1 parent 3c1cbd2 commit 1e6cd2a
Show file tree
Hide file tree
Showing 11 changed files with 1,023 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Determine monorepo semantic-release command
id: set-monorepo-release-command
run: echo "::set-output name=command::$(if [[ $GITHUB_REF == 'refs/heads/main' ]]; then echo 'pnpm -r --workspace-concurrency=1 exec -- npx --no-install semantic-release -e semantic-release-monorepo'; else echo 'pnpm -r --workspace-concurrency=1 exec -- npx --no-install semantic-release -e semantic-release-monorepo --dry-run'; fi)"
run: echo "::set-output name=command::$(if [[ $GITHUB_REF == 'refs/heads/main' ]]; then echo 'pnpm exec multi-semantic-release --debug'; else echo 'pnpm multi-semantic-release --debug --dry-run'; fi)"

- name: Run semantic-release
run: ${{ steps.set-release-command.outputs.command }}
Expand Down
7 changes: 7 additions & 0 deletions .multi-releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePrivate": true,
"tagFormat": "${name}-${version}",
"deps": {
"bump": "inherit"
}
}
6 changes: 1 addition & 5 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
],
"plugins": [
"@semantic-release/commit-analyzer",
"@anolilab/semantic-release-pnpm",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github"
"@anolilab/semantic-release-pnpm"
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cz-commitlint": "^19.2.0",
"@commitlint/prompt": "^19.3.1",
"@qiwi/multi-semantic-release": "^7.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/git": "^10.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-plugin-theseus/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-workspace-root-check=true
2 changes: 1 addition & 1 deletion packages/logger/.npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@

ignore-workspace-root-check=true
1 change: 1 addition & 0 deletions packages/sandbox-constants/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-workspace-root-check=true
2 changes: 1 addition & 1 deletion packages/sandbox/.npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@

ignore-workspace-root-check=true
Loading

0 comments on commit 1e6cd2a

Please sign in to comment.