Skip to content

Commit

Permalink
feat(ci): add exec to update version in files
Browse files Browse the repository at this point in the history
  • Loading branch information
Walheimat committed Jan 27, 2024
1 parent 1295348 commit 8774445
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: "Install dependencies"
run: npm ci

- name: Generate changelog
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
9 changes: 8 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
]
},
],
"@semantic-release/changelog"
"@semantic-release/changelog",
"@semantic-release/git",
[
"@semantic-release/exec",
{
"publishCmd": "make update-next-version NEXT_PACKAGE_VERSION=${nextRelease.version}"
}
]
]
}
52 changes: 52 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@commitlint/cli": "^18.4.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"conventional-changelog-conventionalcommits": "^7.0.2",
"husky": "^8.0.3",
Expand Down

0 comments on commit 8774445

Please sign in to comment.