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

add semantic-release-monorepo to build semantic-release #33

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
9 changes: 0 additions & 9 deletions .github/workflows/realtime.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Commit, push changes, and push tags
run: |
git add .
git commit -m "chore(release): update package versions [skip ci]" || echo "No changes to commit"
git push
git push --tags
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}

publish:
needs: configure-superviz-realtime
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/socket-client.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,10 @@ jobs:
run: |
npm install
npm audit signatures
npx semantic-release
npx semantic-release --branches "${{ github.head_ref }}"
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Commit, push changes, and push tags
run: |
git add .
git commit -m "chore(release): update package versions [skip ci]" || echo "No changes to commit"
git push
git push --tags
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}

publish:
needs: configure_superviz_socket_client
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
Expand Down
1 change: 1 addition & 0 deletions packages/realtime/.releaserc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"preset": "angular",
"tagFormat": "superviz-realtime-${version}",
"extends": "semantic-release-monorepo",
"release": {
"branches": [
"master",
Expand Down
1 change: 1 addition & 0 deletions packages/realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"semantic-release-monorepo": "^8.0.2",
"semantic-release-pub": "^0.8.30"
}
}
7 changes: 1 addition & 6 deletions packages/socket-client/.releaserc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"preset": "angular",
"tagFormat": "superviz-socket-client-${version}",
"extends": "semantic-release-monorepo",
"release": {
"branches": [
"master",
Expand Down Expand Up @@ -52,12 +53,6 @@
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"successComment": ":tada: This issue has been resolved in version superviz-realtime-${nextRelease.version} :tada:\n\nThe release is available on [GitHub release](<github_release_url>)"
}
],
[
"semantic-release-pub",
{
Expand Down
1 change: 1 addition & 0 deletions packages/socket-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"semantic-release-monorepo": "^8.0.2",
"semantic-release-pub": "^0.8.30"
}
}
Loading