Skip to content

Commit

Permalink
fix: version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarmstrongiv committed Jul 15, 2024
1 parent 7ecb5e4 commit cdca2fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
11 changes: 1 addition & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@

- `dotnet build` (only if testing locally)

- Build [runtime ids](https://learn.microsoft.com/en-us/dotnet/core/rid-catalog) with `./build.sh`

- `dotnet publish --runtime osx-arm64`
- `dotnet publish --runtime osx-x64`
- `dotnet publish --runtime linux-arm64`
- `dotnet publish --runtime linux-x64`
- `dotnet publish --runtime win-arm64`
- `dotnet publish --runtime win-x64`
- `dotnet publish --runtime win-x86`

- Increment version in `bunny-sdk.csproj`
- `./build.sh`
- `git add -A`
- `git commit -m "message"`
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -euo pipefail

rm -rf ./bin ./obj

# runtime ids https://learn.microsoft.com/en-us/dotnet/core/rid-catalog

dotnet publish --runtime osx-arm64
dotnet publish --runtime osx-x64
dotnet publish --runtime linux-arm64
Expand Down
2 changes: 2 additions & 0 deletions bunny-sdk.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.0.2</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<PublishSingleFile>true</PublishSingleFile>
Expand Down

0 comments on commit cdca2fa

Please sign in to comment.