Skip to content

Commit

Permalink
Bump version number and modify release script
Browse files Browse the repository at this point in the history
  • Loading branch information
gregyjames committed Dec 29, 2023
1 parent 27bd9eb commit 0e2d65e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy-to-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ jobs:
run: nuget restore Octane.sln
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Extract version from tag
id: extract_version
run: echo "VERSION=$(echo ${{ github.ref }} | sed -n 's/^refs\/tags\/v//p')"
shell: bash

- name: Publish NuGet package
run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --version ${{ steps.extract_version.outputs.VERSION }}
env:
run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
2 changes: 1 addition & 1 deletion OctaneEngine/OctaneEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<NeutralLanguage>en-US</NeutralLanguage>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>OctaneEngineCore</PackageId>
<PackageVersion>6.0.0</PackageVersion>
<PackageVersion>6.0.1</PackageVersion>
<Authors>Greg James</Authors>
<Description>A high Performance C# file downloader that asyncrounously downloads files as pieces. Made as a faster, more efficent replacement to Microsoft's WebClient.</Description>
<Copyright>2015, Greg James</Copyright>
Expand Down

0 comments on commit 0e2d65e

Please sign in to comment.