Skip to content

Commit

Permalink
Update pack.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft authored Oct 12, 2024
1 parent 6c95c31 commit ea78541
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,13 @@ jobs:
run: |
dotnet nuget push ./nuget/*.nupkg --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: github-actions[bot]
author_email: github-actions[bot]@users.noreply.github.com
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/Silverfly.TreeVisualizer/Silverfly.TreeVisualizer.csproj"]'


- name: GIT commit and push docs overriding conflicts with local changes (verbose)
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add Source/*.csproj
git commit -m "Update version to ${{ env.RELEASE_VERSION }}"
git fetch origin
git rebase --strategy-option=theirs origin/main
git push

0 comments on commit ea78541

Please sign in to comment.