Skip to content

Commit 571e265

Browse files
authored
ci: Fix auto-release (#386)
1 parent c95a1c0 commit 571e265

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: release.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ async function config() {
7878
['@semantic-release/changelog', {
7979
'changelogFile': changelogFile,
8080
}],
81+
// Updates the project version in the semantic release prepare step
8182
['@droidsolutions-oss/semantic-release-update-file', {
8283
'files': [
8384
{
@@ -103,6 +104,10 @@ async function config() {
103104
// 'successCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
104105
// 'failCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
105106
// }],
107+
// Build the DLL file after the version has been updated
108+
["@semantic-release/exec", {
109+
'prepareCmd': 'dotnet build ./Parse/Parse.csproj -c Release',
110+
}],
106111
['@droidsolutions-oss/semantic-release-nuget', {
107112
projectPath: './Parse/Parse.csproj',
108113
includeSymbols: true,

0 commit comments

Comments
 (0)