Skip to content

Commit

Permalink
UPDATES TO YML SCRIPT
Browse files Browse the repository at this point in the history
  • Loading branch information
Reapism committed Nov 30, 2023
1 parent 8198142 commit c42eb60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: .NET CI/CD pipeline
name: CI/CD PIPELINE

env:
IS_BETA: true
Expand Down Expand Up @@ -42,6 +42,16 @@ jobs:
echo "::set-output name=new_version::$new_version"
echo "Updated version to $new_version"
- name: COMMIT AND PUSH VERSION UPDATE
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add ${{ env.PROJECT_FILE }}
git commit -m "Update project version to ${{ steps.version-update.outputs.new_version }}"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: BUILD ${{ env.PROJECT_FILE }} ${{ env.BUILD_CONFIGURATION }}
run: dotnet build ${{ env.PROJECT_FILE }} -c ${{ env.BUILD_CONFIGURATION }}

Expand Down
2 changes: 1 addition & 1 deletion src/Sweaj.Patterns/Sweaj.Patterns.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.1.7-beta</Version>
<Version>1.1.8-beta</Version>
<Title>Sweaj.Patterns</Title>
<Description></Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit c42eb60

Please sign in to comment.