Skip to content

Commit

Permalink
Release 0.2.0 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Jun 26, 2022
1 parent 66923a6 commit b062f3b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 26 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,9 @@ jobs:
semantic_version=$(dotnet-gitversion /showvariable SemVer)
echo "semantic_version=$semantic_version" >> $GITHUB_ENV
working-directory: ./
- name: Resolve assembly version
id: assembly_version
run: |
assembly_version=$(dotnet-gitversion /showvariable AssemblySemVer)
echo "assembly_version=$assembly_version" >> $GITHUB_ENV
working-directory: ./
- run: dotnet restore --configfile nuget.config
- run: dotnet format --no-restore --verify-no-changes
- run: dotnet build --no-restore /p:Version=${{ env.assembly_version }}
- run: dotnet build --no-restore /p:Version=${{ env.semantic_version }}
- run: dotnet test --no-build
- run: dotnet pack --no-build /p:PackageVersion=${{ env.semantic_version }}
- uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.0] - 2022-06-26

### Added

- Add NuGet readme file ([#17](https://github.com/josefpihrt/dotmarkdown/pull/17)).
Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<Project>

<PropertyGroup>
<Version>0.1.1.0</Version>
<LangVersion>9.0</LangVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)DotMarkdown.snk</AssemblyOriginatorKeyFile>
<Authors>Josef Pihrt</Authors>
<Copyright>Copyright (c) 2017-2020 Josef Pihrt</Copyright>
<Copyright>Copyright (c) 2017-2022 Josef Pihrt</Copyright>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build-metadata-padding: 4
mode: ContinuousDeployment

branches:
master:
main:
tag: beta
pull-request:
tag: alpha
Expand Down
2 changes: 1 addition & 1 deletion docs/api.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
assembly DotMarkdown, Version=0.1.1.0, Culture=neutral, PublicKeyToken=117de6512634d621
assembly DotMarkdown, Version=0.2.0.0, Culture=neutral, PublicKeyToken=117de6512634d621

namespace DotMarkdown

Expand Down
3 changes: 1 addition & 2 deletions src/DotMarkdown/DotMarkdown.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@

<PropertyGroup>
<PackageId>DotMarkdown</PackageId>
<PackageVersion>0.1.1</PackageVersion>
<Authors>Josef Pihrt</Authors>
<Company></Company>
<Description>DotMarkdown is a framework for creating markdown content
<Description>DotMarkdown enables to conveniently create markdown content from the code.

Commonly Used Types:
DotMarkdown.MarkdownWriter
Expand Down
2 changes: 1 addition & 1 deletion src/DotMarkdown/docs/NuGetReadme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DotMarkdown

DotMarkdown is a framework for creating markdown content.
DotMarkdown enables to conveniently create markdown content from the code.

## Supported Frameworks

Expand Down
6 changes: 1 addition & 5 deletions tools/build.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#dotnet tool install -g orang.dotnet.cli

$version=0.1.1

orang replace "../src" -e csproj -c "(?<=<PackageVersion>)\d+\.\d+\.\d+(?=</PackageVersion>)" -r "$version" -t m r
Write-Host
orang delete "../src" -a d -n "bin|obj" e --content-only -t n -y su s
orang delete "../src" -a d -n "bin|obj" e --content-only -t n -u -p s --align-columns
Write-Host

dotnet clean "../src/DotMarkdown.sln" -c Debug -v m /m
Expand Down
7 changes: 0 additions & 7 deletions tools/push-package.ps1

This file was deleted.

0 comments on commit b062f3b

Please sign in to comment.