Skip to content

Commit

Permalink
Removed version from Servirtium.Core.csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Jul 5, 2021
1 parent 9ec2aaa commit 35462cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ jobs:
# id: semantic_version
# with:
# format: "${major}.${minor}.${patch}-dev.{increment}"

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Extract version from ref
uses: actions/github-script@v4
id: extract-version
with:
script: return /refs\/tags\/servirtium.core\/v?<version>(.+)/.exec(github.ref)
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJSON(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Release Version
uses: rohith/publish-nuget@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions Servirtium.Core/Servirtium.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
<Nullable>enable</Nullable>

<PackageId>Servirtium.Core</PackageId>
<VersionPrefix>1.3.0</VersionPrefix>
<!--<VersionSuffix>dev.1</VersionSuffix>-->
<PackageProjectUrl>https://github.com/servirtium/servirtium-dotnet</PackageProjectUrl>
<Authors>Stephen Hand</Authors>
<Company />
Expand Down

0 comments on commit 35462cf

Please sign in to comment.