From 01dfdebc709c5241248ba4ef40c39bad18cafcb9 Mon Sep 17 00:00:00 2001 From: Kampfmoehre Date: Thu, 27 Jan 2022 12:11:55 +0100 Subject: [PATCH] feat: initial release --- .github/workflows/main.yml | 4 ++-- CHANGELOG.md | 6 ++++++ Directory.Build.props | 20 +++++++++++-------- README.md | 1 + package-lock.json | 18 ++++++++--------- package.json | 6 +++--- .../DroidSolutions.Oss.SemanticVersion.csproj | 4 ++++ 7 files changed, 37 insertions(+), 22 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8c735b..b2a6b83 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -45,4 +45,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} - run: npx semantic-release --dry-run \ No newline at end of file + run: npx semantic-release \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a7bf1fd --- /dev/null +++ b/CHANGELOG.md @@ -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)) diff --git a/Directory.Build.props b/Directory.Build.props index 1bd49e1..9418737 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,29 +1,32 @@ + $(MSBuildThisFileDirectory)stylecop.ruleset - 0.0.9 + 1.0.0-develop.5 Stefan Ißmer DroidSolutions GmbH Contains tools to help work with semantic version numbers. snupkg + true https://github.com/droidsolutions/semantic-version.git true git - Copyright (c) DroidSolutions GmbH 2020. - MIT + Copyright (c) DroidSolutions GmbH 2022. LICENSE README.md - CHANGELOG.md + https://github.com/droidsolutions/semantic-version/blob/main/CHANGELOG.md main - fc297c4ab4d7d5a2d108322d380feb2c7ce04385 + 09cc4f3823a7165891cded4db340215696355fb0 semantic;semantic-version;compare;version - + - + + + - + @@ -31,4 +34,5 @@ + \ No newline at end of file diff --git a/README.md b/README.md index d49f126..a8a5a2b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package-lock.json b/package-lock.json index a4ee487..b30622f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@droidsolutions-oss/semantic-version", - "version": "0.9.0", + "version": "1.0.0-develop.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@droidsolutions-oss/semantic-version", - "version": "0.9.0", + "version": "1.0.0-develop.5", "license": "MIT", "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", @@ -384,9 +384,9 @@ } }, "node_modules/@droidsolutions-oss/semantic-release-nuget": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@droidsolutions-oss/semantic-release-nuget/-/semantic-release-nuget-1.0.1.tgz", - "integrity": "sha512-vUmhyEvob+2nj4fUNa3powAuynlRM4qSi7sz4tkVWtROINlhokZWxY3KQ0vpe+kIbLdj6nhzv6hJ1WPqCqYOSw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@droidsolutions-oss/semantic-release-nuget/-/semantic-release-nuget-1.0.3.tgz", + "integrity": "sha512-HISZcFqm2spZ66G7YwrH3aWaCNOz+guwTq090ufjWYD3cXjKoP7ZPT8dFR61Mmml8ToUnWUMr05Vr2vKGBnUJA==", "dev": true, "dependencies": { "execa": "^5.1.1" @@ -6998,9 +6998,9 @@ } }, "@droidsolutions-oss/semantic-release-nuget": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@droidsolutions-oss/semantic-release-nuget/-/semantic-release-nuget-1.0.1.tgz", - "integrity": "sha512-vUmhyEvob+2nj4fUNa3powAuynlRM4qSi7sz4tkVWtROINlhokZWxY3KQ0vpe+kIbLdj6nhzv6hJ1WPqCqYOSw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@droidsolutions-oss/semantic-release-nuget/-/semantic-release-nuget-1.0.3.tgz", + "integrity": "sha512-HISZcFqm2spZ66G7YwrH3aWaCNOz+guwTq090ufjWYD3cXjKoP7ZPT8dFR61Mmml8ToUnWUMr05Vr2vKGBnUJA==", "dev": true, "requires": { "execa": "^5.1.1" diff --git a/package.json b/package.json index b878c9f..31ce45f 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -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", @@ -107,7 +107,7 @@ }, { "key": "RepositoryCommit", - "value": "${CI_COMMIT_SHA}" + "value": "${nextRelease.gitHead}" } ] } diff --git a/src/DroidSolutions.Oss.SemanticVersion/DroidSolutions.Oss.SemanticVersion.csproj b/src/DroidSolutions.Oss.SemanticVersion/DroidSolutions.Oss.SemanticVersion.csproj index c2fcb42..c64e56d 100644 --- a/src/DroidSolutions.Oss.SemanticVersion/DroidSolutions.Oss.SemanticVersion.csproj +++ b/src/DroidSolutions.Oss.SemanticVersion/DroidSolutions.Oss.SemanticVersion.csproj @@ -8,4 +8,8 @@ DroidSolutions.Oss.SemanticVersion + + true + +