Skip to content

Commit

Permalink
Update pack.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft authored Aug 27, 2024
1 parent bd2d17e commit e14eb70
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,13 @@ jobs:
sed -i "s/<Version>.*<\/Version>/<Version>${RELEASE_VERSION}<\/Version>/" Source/Silverfly.Testing/Silverfly.Testing.csproj
sed -i "s/<Version>.*<\/Version>/<Version>${RELEASE_VERSION}<\/Version>/" Source/Silverfly.Generator/Silverfly.Generator.csproj
sed -i "s/<Version>.*<\/Version>/<Version>${RELEASE_VERSION}<\/Version>/" Source/Silverfly.Repl/Silverfly.Repl.csproj
sed -i "s/<Version>.*<\/Version>/<Version>${RELEASE_VERSION}<\/Version>/" Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj
sed -i "s/<Version>.*<\/Version>/<Version>${RELEASE_VERSION}<\/Version>/" Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj
sed -i "s/<Version>.*<\/Version>/<Version>${RELEASE_VERSION}<\/Version>/" Source/Samples/Sample.JSON/Sample.JSON.csproj
- name: Build and package
run: |
dotnet build -c Release -o ./nuget Source/Silverfly/Silverfly.csproj
dotnet build -c Release -o ./nuget Source/Silverfly.Testing/Silverfly.Testing.csproj
dotnet build -c Release -o ./nuget Source/Silverfly.Repl/Silverfly.Repl.csproj
dotnet build -o ./nuget Source/Silverfly.Generator/Silverfly.Generator.csproj
dotnet build -o ./nuget Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj
dotnet build -o ./nuget Source/Samples/Sample.JSON/Sample.JSON.csproj
dotnet build -o ./nuget Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj
- name: Publish to NuGet
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -113,7 +107,7 @@ jobs:
message: "Update version to ${{ env.RELEASE_VERSION }}"
push: true
new_branch: update-version
add: '["Source/Silverfly/Silverfly.csproj", "Source/Silverfly.Testing/Silverfly.Testing.csproj", "Source/Silverfly.Generator/Silverfly.Generator.csproj", "Source/Silverfly.Repl/Silverfly.Repl.csproj", "Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj"]'
add: '["Source/Silverfly/Silverfly.csproj", "Source/Silverfly.Testing/Silverfly.Testing.csproj", "Source/Silverfly.Generator/Silverfly.Generator.csproj", "Source/Silverfly.Repl/Silverfly.Repl.csproj"]'

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
Expand Down

0 comments on commit e14eb70

Please sign in to comment.