Skip to content

Commit

Permalink
add version to github actions
Browse files Browse the repository at this point in the history
TODO: retrieve version from assembly, perhaps?
  • Loading branch information
Daniele Fetoni committed Aug 23, 2024
1 parent 81a60d5 commit f4b0cfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
NuGetDirectory: ${{ github.workspace }}/nuget
TestsPath: src/tests/Ninja.Sharp.OpenMessagingWrapper.Tests/Ninja.Sharp.OpenMessagingWrapper.Tests.csproj
ProjectPath: src/Ninja.Sharp.OpenMessagingWrapper/Ninja.Sharp.OpenMessagingWrapper.csproj
Version: 0.0.3-alpha

defaults:
run:
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ env.Version }}
release_name: Release ${{ env.Version }}
draft: false
prerelease: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
<Title>A .net driver for simplified access to common messaging system.</Title>
<Version>0.0.2-alpha</Version>
<Version>0.0.3-alpha</Version>
<Company>The Sharp Ninjas</Company>
<Authors>The Sharp Ninjas</Authors>
<Product>OpenMessagingWrapper</Product>
Expand Down

0 comments on commit f4b0cfa

Please sign in to comment.