Skip to content

Commit

Permalink
Releasing 0.14.0 (#564)
Browse files Browse the repository at this point in the history
* Releasing 0.14.0

* Releasing 0.14.0, 1.0.1 for VS, 1.0.4 for rider.
  • Loading branch information
belav authored Jan 22, 2022
1 parent 8a1dfc7 commit 2e840ad
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 0.14.0

[diff](https://github.com/belav/csharpier/compare/0.13.0...0.14.0)

- File with no preprocessor symbols formats twice. [#555](https://github.com/belav/csharpier/issues/555)
- A namespace with `assembly` attribute and `using` causes two newlines [#551](https://github.com/belav/csharpier/issues/551)
- Wrapping arithmetic expressions not stacked/chopped down [#547](https://github.com/belav/csharpier/issues/547)
- Use UTF8 for piping in/out to CLI to support unicode characters [#545](https://github.com/belav/csharpier/issues/545)


# 0.13.0

[diff](https://github.com/belav/csharpier/compare/0.12.0...0.13.0)
Expand Down
2 changes: 1 addition & 1 deletion CSharpier.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>0.13.0</Version>
<Version>0.14.0</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/belav/csharpier</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
3 changes: 3 additions & 0 deletions Src/CSharpier.Rider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

## [Unreleased]

## [1.0.4]
- Adding support for UTF8 and unicode characters. Requires csharpier 0.14.0

## [1.0.3]
- Add logo

Expand Down
9 changes: 8 additions & 1 deletion Src/CSharpier.Rider/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ Local testing
- there may be a way to run it in rider - https://jetbrains-platform.slack.com/archives/C5NMWKBJ4/p1640080931056300
- Run .\gradlew.bat :buildPlugin to create plugin so that it can be used in rider,
- may need to change version number in gradle.properties
- go to settings - plugins - install manually - Src\CSharpier.Rider\build\distributions
- go to settings - plugins - install manually - Src\CSharpier.Rider\build\distributions

Publishing
- Update version in gradle.properties
- Run .\gradlew.bat :buildPlugin
- Login to https://plugins.jetbrains.com/plugin/18243-csharpier using github account
- upload file from build/distributions
- Automate this if we release a lot
2 changes: 1 addition & 1 deletion Src/CSharpier.Rider/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pluginGroup = com.intellij.csharpier
pluginName = csharpier
# SemVer format -> https://semver.org
pluginVersion = 1.0.3
pluginVersion = 1.0.4

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
Expand Down
11 changes: 11 additions & 0 deletions Src/CSharpier.VisualStudio/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Local Testing
- I have run into cases of the extension not working. Uninstalling both csharpier and
csharpier 2019 from the test instance and restarting seems to fix it. Maybe it happens because both seem to
to installed?

Publishing
- Update version in BOTH files at CSharpier.VisualStudio[2019]/source.extension.vsixmanifest
- build solution in release (can this happen via command line?)
- go to https://marketplace.visualstudio.com/manage/publishers/csharpier (with personal microsoft account)
- three dots - edit - add new vsix
- Automate this if we release a lot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="83d6b6a0-9e25-4034-80f3-38445d8a8837" Version="1.0" Language="en-US" Publisher="CSharpier" />
<Identity Id="83d6b6a0-9e25-4034-80f3-38445d8a8837" Version="1.0.1" Language="en-US" Publisher="CSharpier" />
<DisplayName>CSharpier</DisplayName>
<Description xml:space="preserve">CSharpier is an opinionated code formatter for c#. It uses Roslyn to parse your code and re-prints it using its own rules.</Description>
<MoreInfo>https://github.com/belav/csharpier</MoreInfo>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="edd8b38c-baa1-46c6-b82e-1da7a0ba597b" Version="1.0" Language="en-US" Publisher="CSharpier" />
<Identity Id="edd8b38c-baa1-46c6-b82e-1da7a0ba597b" Version="1.0.1" Language="en-US" Publisher="CSharpier" />
<DisplayName>CSharpier 2019</DisplayName>
<Description xml:space="preserve">CSharpier is an opinionated code formatter for c#. It uses Roslyn to parse your code and re-prints it using its own rules.</Description>
<MoreInfo>https://github.com/belav/csharpier</MoreInfo>
Expand Down

0 comments on commit 2e840ad

Please sign in to comment.