发布脚本放到解决方案根目录
This commit is contained in:
		
							parent
							
								
									cbd12b69d5
								
							
						
					
					
						commit
						49c21111fb
					
				@ -4,6 +4,7 @@
 | 
				
			|||||||
		<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.0-*" />
 | 
							<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.0-*" />
 | 
				
			||||||
		<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0-*" />
 | 
							<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0-*" />
 | 
				
			||||||
		<PackageReference Include="DNS" Version="6.1.0" />
 | 
							<PackageReference Include="DNS" Version="6.1.0" />
 | 
				
			||||||
 | 
							<ProjectReference Include="..\FastGithub.Configuration\FastGithub.Configuration.csproj" />
 | 
				
			||||||
	</ItemGroup>
 | 
						</ItemGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<ItemGroup>
 | 
						<ItemGroup>
 | 
				
			||||||
@ -30,8 +31,4 @@
 | 
				
			|||||||
		</None>
 | 
							</None>
 | 
				
			||||||
	</ItemGroup>
 | 
						</ItemGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ItemGroup>
 | 
					 | 
				
			||||||
    <ProjectReference Include="..\FastGithub.Configuration\FastGithub.Configuration.csproj" />
 | 
					 | 
				
			||||||
  </ItemGroup>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</Project>
 | 
					</Project>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,12 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
  "version": 1,
 | 
					 | 
				
			||||||
  "isRoot": true,
 | 
					 | 
				
			||||||
  "tools": {
 | 
					 | 
				
			||||||
    "dotnet-ef": {
 | 
					 | 
				
			||||||
      "version": "5.0.8",
 | 
					 | 
				
			||||||
      "commands": [
 | 
					 | 
				
			||||||
        "dotnet-ef"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -7,9 +7,6 @@
 | 
				
			|||||||
		<IsWebConfigTransformDisabled>true</IsWebConfigTransformDisabled>
 | 
							<IsWebConfigTransformDisabled>true</IsWebConfigTransformDisabled>
 | 
				
			||||||
		<ApplicationIcon>app.ico</ApplicationIcon>
 | 
							<ApplicationIcon>app.ico</ApplicationIcon>
 | 
				
			||||||
		<ApplicationManifest>app.manifest</ApplicationManifest>
 | 
							<ApplicationManifest>app.manifest</ApplicationManifest>
 | 
				
			||||||
  </PropertyGroup>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  <PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
 | 
					 | 
				
			||||||
		<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
 | 
							<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
 | 
				
			||||||
	</PropertyGroup>
 | 
						</PropertyGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
#! /bin/bash
 | 
					#! /bin/bash
 | 
				
			||||||
cd ./bin/publish
 | 
					cd ./FastGithub/bin/publish
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# linux-x64
 | 
					# linux-x64
 | 
				
			||||||
chmod 777 ./linux-x64/dnscrypt-proxy
 | 
					chmod 777 ./linux-x64/dnscrypt-proxy
 | 
				
			||||||
@ -1,3 +1,4 @@
 | 
				
			|||||||
 | 
					cd ./FastGithub
 | 
				
			||||||
set output=./bin/publish
 | 
					set output=./bin/publish
 | 
				
			||||||
if exist "%output%" rd /S /Q "%output%"
 | 
					if exist "%output%" rd /S /Q "%output%"
 | 
				
			||||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r win-x64 -o "%output%/win-x64"
 | 
					dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r win-x64 -o "%output%/win-x64"
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user