Skip to content

Commit

Permalink
fix: bump from csprj
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-dematte-zupit committed Feb 14, 2024
1 parent 9323cea commit 44d0dea
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish-new-version-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
WORKING_DIRECTORY:
required: true
type: string
COMMIT_PROJECT_NAME_SUFFIX:
required: true
type: string

jobs:
publish-new-version:
Expand All @@ -27,7 +30,7 @@ jobs:
git config --local user.name "github-actions[bot]"
- name: Versionize Release
id: versionize
run: versionize --changelog-all --exit-insignificant-commits
run: versionize --changelog-all --exit-insignificant-commits --proj-version-bump-logic --skip-tag --commit-suffix "[${{ inputs.COMMIT_PROJECT_NAME_SUFFIX }}]"
continue-on-error: true
- name: No release required
if: steps.versionize.outcome != 'success'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
DOTNET_IMAGE:
required: true
type: string
COMMIT_PROJECT_NAME_SUFFIX:
required: true
type: string

jobs:
test:
Expand All @@ -24,6 +27,7 @@ jobs:
uses: ./.github/workflows/publish-new-version-common.yml
with:
WORKING_DIRECTORY: ${{ inputs.WORKING_DIRECTORY }}
COMMIT_PROJECT_NAME_SUFFIX: ${{ inputs.COMMIT_PROJECT_NAME_SUFFIX }}
release:
needs: [ test, publish-new-version ]
if: needs.publish-new-version.outcome == 'success'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-version-endpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
DOTNET_IMAGE: 'mcr.microsoft.com/dotnet/sdk:8.0.101-alpine3.18-amd64'
WORKING_DIRECTORY: Zupit.VersionEndpoint
PROJECT: Zupit.VersionEndpoint
COMMIT_PROJECT_NAME_SUFFIX: VersionEndpoint
secrets: inherit
2 changes: 1 addition & 1 deletion Zupit.VersionEndpoint/Zupit.VersionEndpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This library adds a version endpoint to your ASP.NET Core application. The versi
The endpoint is accessible via `GET /version` and returns a string with the version. You can customize the endpoint path.

## Prerequisites
- .NET 7 or later
- .NET 7 or later

## Installation
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
Expand All @@ -8,7 +8,7 @@

<PropertyGroup>
<PackageId>Zupit.VersionEndpoint</PackageId>
<Version>0.1.1</Version>
<Version>0.0.3</Version>
<Authors>Zupit Developers</Authors>
<Company>Zupit</Company>
<PackageTags>Version;Endpoint;Zupit</PackageTags>
Expand Down

0 comments on commit 44d0dea

Please sign in to comment.