Skip to content

Commit

Permalink
ci: Fix incorrect DLL version on release (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored May 23, 2024
1 parent dbc9ebd commit d7efec6
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore .NET dependencies
run: dotnet restore /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj
- name: Build .NET project
run: dotnet build /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj -c Release
- name: List output directory contents
run: ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0
dotnet-version: '8'
# - name: Restore .NET dependencies
# run: dotnet restore /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj
# - name: Build .NET project
# run: dotnet build /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj -c Release
# - name: List output directory contents
# run: ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0
- name: Set up Node.js
uses: actions/setup-node@v2
with:
Expand Down
30 changes: 30 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@droidsolutions-oss/semantic-release-update-file": "1.4.0",
"@semantic-release/changelog": "6.0.0",
"@semantic-release/commit-analyzer": "9.0.2",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/release-notes-generator": "10.0.3",
"semantic-release": "19.0.3"
Expand Down
7 changes: 7 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ async function config() {
}
]
}],
["@semantic-release/exec", {
'verifyConditionsCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0',
'prepareCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0',
'publishCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0',
'successCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0',
'failCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0',
}],
['@droidsolutions-oss/semantic-release-nuget', {
projectPath: './Parse/Parse.csproj',
includeSymbols: true,
Expand Down

0 comments on commit d7efec6

Please sign in to comment.