Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update release.config.js
  • Loading branch information
mtrezza committed May 24, 2024
commit 91f2917ac17ab2fa5fa3ff66c8b2164a491f3b2a
5 changes: 5 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function config() {
['@semantic-release/changelog', {
'changelogFile': changelogFile,
}],
// Updates the project version in the semantic release prepare step
['@droidsolutions-oss/semantic-release-update-file', {
'files': [
{
Expand All @@ -103,6 +104,10 @@ async function config() {
// 'successCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// 'failCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// }],
// Build the DLL file after the version has been updated
["@semantic-release/exec", {
'prepareCmd': 'dotnet build ./Parse/Parse.csproj -c Release',
}],
['@droidsolutions-oss/semantic-release-nuget', {
projectPath: './Parse/Parse.csproj',
includeSymbols: true,
Expand Down