Skip to content

Commit

Permalink
Docs: [AEA-0000] - fix release (#190)
Browse files Browse the repository at this point in the history
## Summary

- Routine Change

### Details

- fix creating a release
  • Loading branch information
anthony-nhs authored Sep 2, 2024
1 parent 03d4fc3 commit 9935fc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
cat semantic-release-output.log
exit 1
fi
tagFormat=$(node -e "const config=require('./release.config.js'); console.log(config.tagFormat)")
tagFormat=$(node -e "const config=require('./release.config.cjs'); console.log(config.tagFormat)")
if [ "${tagFormat}" = "null" ]
then
tagFormat="v\${version}"
Expand Down
1 change: 1 addition & 0 deletions release-config.js → release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const {readFileSync} = require("fs")
const commitTemplate = readFileSync("./releaseNotesTemplates/commit.hbs").toString()
// eslint-disable-next-line no-undef
module.exports = {
tagFormat: "v${version}",
branches: [
{
name: "main"
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ sonar.coverage.exclusions= \
**/*.test.*, \
**/jest.config.ts, \
scripts/*, \
release-config.js
release-config.cjs
sonar.javascript.lcov.reportPaths=coverage/lcov.info

0 comments on commit 9935fc9

Please sign in to comment.