Skip to content

Commit

Permalink
refactor: ✏️ Prepare the files prior to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsRepos committed Jun 2, 2024
1 parent 742c479 commit 43f590a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ const config = {
"@semantic-release/exec",
{
prepareCmd: `
echo "Branch: ${branch}"
`,
successCmd: `
echo "Branch: ${branch}" &&
echo "\${nextRelease.version}" > VERSION.txt &&
echo "Updating CDN links to version \${nextRelease.version}" &&
node replace.version.js \${nextRelease.version} .
node replace.version.js \${nextRelease.version} . &&
git add VERSION.txt README.md theme/complete.css
`
},
],
Expand Down

0 comments on commit 43f590a

Please sign in to comment.