Skip to content

Commit

Permalink
Fix version error in the ci, Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ptvty committed Mar 29, 2024
1 parent b54ba0f commit c2ae50b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ jobs:
run: dotnet restore
- name: Publish for win-x64
run: dotnet publish -r win-x64
- name: Get version
id: package_version
uses: KageKirin/get-csproj-version@v0
with:
file: ./WinFileReadEvents.csproj
- name: Create a Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: v${{ steps.package_version.outputs.version }}
release_name: v${{ steps.package_version.outputs.version }}
body: Self Contained win-x64 executable
draft: false
prerelease: false
- name: Upload Release Asset
Expand Down
2 changes: 1 addition & 1 deletion WinFileReadEvents.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<RootNamespace>WinFileReadEvents</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.1.0</Version>
<Version>0.1.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit c2ae50b

Please sign in to comment.