Skip to content

Commit

Permalink
feat: initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfmoehre authored Jan 27, 2022
1 parent df41ddd commit 01dfdeb
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
path-to-lcov: coverage/coverage.info
release:
name: Semantic Release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
runs-on: ubuntu-latest
needs:
- build
Expand All @@ -45,4 +45,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
run: npx semantic-release --dry-run
run: npx semantic-release
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 1.0.0-develop.1 (2022-01-27)


### Features

* add ISemanticVersion and SemanticVersionObject including Comparer ([df8986e](https://github.com/droidsolutions/semantic-version/commit/df8986e91be001acf076054863bb01f510a98b90))
20 changes: 12 additions & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
<Project>

<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)stylecop.ruleset</CodeAnalysisRuleSet>
<Version>0.0.9</Version>
<Version>1.0.0-develop.5</Version>
<Authors>Stefan Ißmer</Authors>
<Company>DroidSolutions GmbH</Company>
<Description>Contains tools to help work with semantic version numbers.</Description>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<RepositoryUrl>https://github.com/droidsolutions/semantic-version.git</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryType>git</RepositoryType>
<Copyright>Copyright (c) DroidSolutions GmbH 2020.</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) DroidSolutions GmbH 2022.</Copyright>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>CHANGELOG.md</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/droidsolutions/semantic-version/blob/main/CHANGELOG.md</PackageReleaseNotes>
<RepositoryBranch>main</RepositoryBranch>
<RepositoryCommit>fc297c4ab4d7d5a2d108322d380feb2c7ce04385</RepositoryCommit>
<RepositoryCommit>09cc4f3823a7165891cded4db340215696355fb0</RepositoryCommit>
<PackageTags>semantic;semantic-version;compare;version</PackageTags>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" />
<None Include="LICENSE" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)CHANGELOG.md" Pack="true" PackagePath=""/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Roslynator.Analyzers" Version="4.0.0" PrivateAssets="All"/>
<PackageReference Include="Roslynator.CodeAnalysis.Analyzers" Version="4.0.0" PrivateAssets="All"/>
<PackageReference Include="Roslynator.Formatting.Analyzers" Version="4.0.0" PrivateAssets="All"/>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All"/>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This is a NuGet package containing a library that provides sort and compare functions for [Semantic Version](https://semver.org/) numbers.

[![Coverage Status](https://coveralls.io/repos/github/droidsolutions/semantic-version/badge.svg?branch=main)](https://coveralls.io/github/droidsolutions/semantic-version?branch=main)
![Nuget](https://img.shields.io/nuget/v/DroidSolutions.Oss.SemanticVersion)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

# Installation
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@droidsolutions-oss/semantic-version",
"version": "0.9.0",
"version": "1.0.0-develop.5",
"description": "NuGet package with tools to help work with semantic version numbers.",
"main": "index.js",
"directories": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@commitlint/cli": "16.1.0",
"@commitlint/config-conventional": "16.0.0",
"@droidsolutions-oss/semantic-release-nuget": "1.0.1",
"@droidsolutions-oss/semantic-release-nuget": "1.0.3",
"@droidsolutions-oss/semantic-release-update-file": "1.0.3",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
Expand Down Expand Up @@ -107,7 +107,7 @@
},
{
"key": "RepositoryCommit",
"value": "${CI_COMMIT_SHA}"
"value": "${nextRelease.gitHead}"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
<PackageId>DroidSolutions.Oss.SemanticVersion</PackageId>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

</Project>

0 comments on commit 01dfdeb

Please sign in to comment.