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 19, 2024
1 parent 74f959a commit 9da8da1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ jobs:
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/Silverfly.TreeVisualizer/Silverfly.TreeVisualizer.csproj
- name: GIT commit and push 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
- name: Build and package
run: |
Expand All @@ -63,14 +73,4 @@ jobs:
- name: Publish package To Nuget
run: |
dotnet nuget push ./nuget/*.nupkg --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
- 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 9da8da1

Please sign in to comment.