Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
NMSAzulX committed Nov 13, 2024
1 parent 11d8524 commit 85021c5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 111 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,45 +109,3 @@ jobs:
- name: 📶 Push to Nuget
if: ${{ needs.prepare_check.outputs.hasNugetKey == 'true' }}
run: dotnet nuget push *.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

release:

runs-on: ubuntu-latest
needs: prepare_check
env:
RELEASE_VERSION: ${{needs.prepare_check.outputs.releaseVersion}}
PACK_STRING: ${{needs.prepare_check.outputs.releasePackString}}

steps:
- uses: actions/checkout@v4
- name: 🎉 Release
run: |
RELEASE_ID=$(gh api graphql -H "X-Github-Next-Global-ID: 1" -f query='
query{
repository(owner:"${{github.repository_owner}}",name:"${{github.event.repository.name}}"){
release(tagName:"v${{env.RELEASE_VERSION}}"){
id
}
}
}' --jq '.data.repository.release.id')
RESULT=0
if [ "$RELEASE_ID" != "" ]; then
if [ "$RELEASE_ID" != "null" ]; then
RESULT=1
fi
fi
if [ $RESULT == 0 ]; then
echo "::debug::no release package"
echo "不存在 Id ,开始创建 Release v${{env.RELEASE_VERSION}} 包!"
gh release create v${{env.RELEASE_VERSION}} -F CHANGELOG.md
else
echo "::debug::exist release package"
echo "该 Release v${{env.RELEASE_VERSION}} 包已存在!"
gh release edit v${{env.RELEASE_VERSION}} --notes-file CHANGELOG.md
fi
78 changes: 13 additions & 65 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Example:
## [9.0.0.0] - 2024-11-13
### DotNetCore.Natasha.CSharp.Compiler _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Compiler _ v9.0.0.1:
- 增加私有操作系列 API.
- 升级 Roslyn 依赖.
- 优化异常报告,增加 GetException API 以便在编译周期外获取异常.
Expand All @@ -20,101 +20,49 @@ Example:
- 优化 编译级别 API, 使用编译级别是更容易看懂.
- 增加链式初始化器.
### DotNetCore.Natasha.CSharp.Template.Core _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Template.Core _ v9.0.0.1:
- 跟随 Compiler 升级依赖.
### DotNetCore.Natasha.CSharp.Extension.Codecov _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Extension.Codecov _ v9.0.0.1:
- 跟随 Compiler 升级依赖.
### DotNetCore.Natasha.CSharp.Extension.Ambiguity _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Extension.Ambiguity _ v9.0.0.1:
- 跟随 Compiler 升级依赖.
### DotNetCore.Natasha.CSharp.Extension.MethodCreator _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Extension.MethodCreator _ v9.0.0.1:
- 发布 便捷动态方法编译模板.
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.CSharp.Extension.CompileDirector _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Extension.CompileDirector _ v9.0.0.1:
- 编译导演,每次编译学习并保留有用的 using code.
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.CSharp.Extension.HotReload _ v9.0.0.0:
- 热重载,允许程序在运行时更改代码,并输出新的结果.
- 跟随其他扩展库版本号发布.
-
### DotNetCore.Natasha.CSharp.Extension.HotReload.SG _ v8.9.0.0:
- 热重载,允许程序在运行时更改代码,并输出新的结果.
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.CSharp.Compiler.Domain _ v9.0.0.0:
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.Domain _ v9.0.0.0:
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.DynamicLoad.Base _ v9.0.0.0:
### DotNetCore.Natasha.CSharp.Compiler.Domain _ v9.0.0.1:
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.CSharp.Extension.MethodCreator _ v9.0.0.0:
- 发布 便捷动态方法编译模板.
### DotNetCore.Natasha.Domain _ v9.0.0.1:
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.CSharp.Extension.CompileDirector _ v9.0.0.0:
- 编译导演,每次编译学习并保留有用的 using code.
### DotNetCore.Natasha.DynamicLoad.Base _ v9.0.0.1:
- 跟随其他扩展库版本号发布.
-->

## [9.0.0.1] - 2024-11-13

### DotNetCore.Natasha.CSharp.HotExecutor _ v9.0.0.1:
- 基于 Natasha 的热执行,允许程序在运行时更改代码,并输出新的结果.
- 跟随其他扩展库版本号发布.
### DotNetCore.Natasha.CSharp.HotExecutor.SG _ v9.0.0.1:
- 热执行的 SG 扩展库.
- 跟随其他扩展库版本号发布.
-->

### DotNetCore.Natasha.CSharp.HotExecutor.Wrapper _ v9.0.0.1:
- 热执行 + SG 封装库.
- 跟随其他扩展库版本号发布.


### DotNetCore.Natasha.CSharp.Compiler _ v9.0.0.1:
- 增加私有操作系列 API.
- 升级 Roslyn 依赖.
- 优化异常报告,增加 GetException API 以便在编译周期外获取异常.
- 增加复用系列 API.
- 增加重复编译时文件命名策略.
- 优化 API 注释.
- "Domain" 系列 API 重命名为 "LoadContext".
- 优化 编译级别 API, 使用编译级别是更容易看懂.
- 增加链式初始化器.

### DotNetCore.Natasha.CSharp.Template.Core _ v9.0.0.1:
- 跟随 Compiler 升级依赖.

### DotNetCore.Natasha.CSharp.Extension.Codecov _ v9.0.0.1:
- 跟随 Compiler 升级依赖.

### DotNetCore.Natasha.CSharp.Extension.Ambiguity _ v9.0.0.1:
- 跟随 Compiler 升级依赖.

### DotNetCore.Natasha.CSharp.Extension.MethodCreator _ v9.0.0.1:
- 发布 便捷动态方法编译模板.
- 跟随其他扩展库版本号发布.
## [9.0.0.1] - 2024-11-13

### DotNetCore.Natasha.CSharp.Extension.CompileDirector _ v9.0.0.1:
- 编译导演,每次编译学习并保留有用的 using code.
- 跟随其他扩展库版本号发布.

### DotNetCore.Natasha.CSharp.Compiler.Domain _ v9.0.0.1:
### DotNetCore.Natasha.CSharp.HotExecutor.Wrapper _ v9.0.0.2:
- 热执行 + SG 封装库.
- 跟随其他扩展库版本号发布.

### DotNetCore.Natasha.Domain _ v9.0.0.1:
- 跟随其他扩展库版本号发布.

### DotNetCore.Natasha.DynamicLoad.Base _ v9.0.0.1:
- 跟随其他扩展库版本号发布.



6 changes: 5 additions & 1 deletion samples/ExtensionSample/ExtensionSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net8.0</TargetFramework>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<!--<ImplicitUsings>enable</ImplicitUsings>-->
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand All @@ -14,6 +14,10 @@
<Compile Remove="InteroAttribute.cs" />
</ItemGroup>

<!--<ItemGroup>
<PackageReference Include="DotNetCore.Natasha.CSharp.HotExecutor.Wrapper" Version="9.0.0.1" />
</ItemGroup>-->

<!--<ItemGroup>
<PackageReference Include="DotNetCore.Natasha.CSharp.HotExecutor.Wrapper" Version="8.9.0" />
</ItemGroup>-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<!-- 编辑项目文件,添加指定的 PackageReference 节点 -->
<ItemGroup>
<PackageReference Include="DotNetCore.Natasha.CSharp.HotExecutor.SG" Version="9.0.0.0" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="DotNetCore.Natasha.CSharp.HotExecutor" Version="9.0.0.0" />
<PackageReference Include="DotNetCore.Natasha.CSharp.Compiler.Domain" Version="9.0.0.0" />
<PackageReference Include="DotNetCore.Natasha.CSharp.HotExecutor.SG" Version="9.0.0.1" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="DotNetCore.Natasha.CSharp.HotExecutor" Version="9.0.0.1" />
<PackageReference Include="DotNetCore.Natasha.CSharp.Compiler.Domain" Version="9.0.0.1" />
</ItemGroup>
</Project>

0 comments on commit 85021c5

Please sign in to comment.