Skip to content

Commit

Permalink
Update deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DiFFoZ authored Mar 6, 2021
1 parent 8e0525f commit 2c35d95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Update version
run: "sed -i \"s#<Version>0.0.0</Version>#<Version>${{ github.event.inputs.version }}</Version>#\" OpenJoinLeaveMessages/OpenJoinLeaveMessages.csproj"
run: "sed -i \"s#<Version>0.0.0</Version>#<Version>${{ github.event.inputs.version }}</Version>#\" OpenJoinLeaveMessages/EvolutionPlugins.OpenJoinLeaveMessages.csproj"
- name: Update package version
run: "sed -i \"s#<PackageVersion>0.0.0</PackageVersion>#<PackageVersion>${{ github.event.inputs.version }}</PackageVersion>#\" OpenJoinLeaveMessages/OpenJoinLeaveMessages.csproj"
run: "sed -i \"s#<PackageVersion>0.0.0</PackageVersion>#<PackageVersion>${{ github.event.inputs.version }}</PackageVersion>#\" OpenJoinLeaveMessages/EvolutionPlugins.OpenJoinLeaveMessages.csproj"
- name: Update informational version
run: "sed -i \"s#<InformationalVersion>0.0.0</InformationalVersion>#<InformationalVersion>${{ github.event.inputs.version }}</InformationalVersion>#\" OpenJoinLeaveMessages/OpenJoinLeaveMessages.csproj"
run: "sed -i \"s#<InformationalVersion>0.0.0</InformationalVersion>#<InformationalVersion>${{ github.event.inputs.version }}</InformationalVersion>#\" OpenJoinLeaveMessages/EvolutionPlugins.OpenJoinLeaveMessages.csproj"
- name: Build
run: dotnet build OpenJoinLeaveMessages/OpenJoinLeaveMessages.csproj --configuration Release --no-restore
run: dotnet build EvolutionPlugins.OpenJoinLeaveMessages.csproj --configuration Release --no-restore
- name: Deploy to NuGet
run: dotnet nuget push OpenJoinLeaveMessages/bin/Release/*.nupkg
--api-key ${{ secrets.NUGET_DEPLOY_KEY }}
Expand Down

0 comments on commit 2c35d95

Please sign in to comment.