Skip to content

Commit

Permalink
fix: Correct to new js path
Browse files Browse the repository at this point in the history
  • Loading branch information
carlreid committed Feb 16, 2025
1 parent 5d33b33 commit 5d27e8b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions release.config.norelease.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ module.exports = {
{
verifyConditionsCmd: ":",
prepareCmd:
"node updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
"node src/updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
publishCmd: [
"node updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
"git add ./StreamMaster.API/AssemblyInfo.cs",
"node src/updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
"git add ./src/StreamMaster.API/AssemblyInfo.cs",
'git diff-index --quiet HEAD || git commit -m "chore: update AssemblyInfo.cs to version ${nextRelease.version}"'
].join(" && ")
}
Expand Down
6 changes: 3 additions & 3 deletions release.config.release.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ module.exports = {
{
verifyConditionsCmd: ":",
prepareCmd:
"node updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
"node src/updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
publishCmd: [
"node updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
"git add ./StreamMaster.API/AssemblyInfo.cs",
"node src/updateAssemblyInfo.js ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}",
"git add ./src/StreamMaster.API/AssemblyInfo.cs",
'git diff-index --quiet HEAD || git commit -m "chore: update AssemblyInfo.cs to version ${nextRelease.version}"'
].join(" && ")
}
Expand Down
2 changes: 1 addition & 1 deletion src/updateAssemblyInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const sha = process.argv[3];
const branch = process.argv[4];

const normalizedVersion = normalizeVersion(version);
const filePath = "./StreamMaster.API/AssemblyInfo.cs";
const filePath = "./src/StreamMaster.API/AssemblyInfo.cs";

const content = `
using System.Reflection;
Expand Down

0 comments on commit 5d27e8b

Please sign in to comment.