Skip to content

Commit 6d516b2

Browse files
author
Robin Hermann
committed
fix: final structure
1 parent 41aeac6 commit 6d516b2

File tree

7 files changed

+44
-26
lines changed

7 files changed

+44
-26
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ permissions:
1313

1414
jobs:
1515
build:
16-
1716
runs-on: windows-latest
1817

1918
steps:
@@ -22,26 +21,24 @@ jobs:
2221
uses: actions/setup-dotnet@v4
2322
with:
2423
dotnet-version: 7.0.x
25-
- name: get version
24+
- name: Get version
2625
id: version
2726
uses: notiz-dev/github-action-json-property@release
2827
with:
29-
path: 'Flow.Launcher.Plugin.KubernetesContextSwitcher/plugin.json'
28+
path: 'plugin.json'
3029
prop_path: 'Version'
3130
- run: echo ${{steps.version.outputs.prop}}
3231
- name: Restore
3332
run: |
34-
cd Flow.Launcher.Plugin.KubernetesContextSwitcher
3533
dotnet restore
3634
- name: Build
3735
run: |
38-
cd Flow.Launcher.Plugin.KubernetesContextSwitcher
3936
dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.KubernetesContextSwitcher.csproj
4037
7z a -tzip "Flow.Launcher.Plugin.KubernetesContextSwitcher.zip" "./bin/Release/win-x64/publish/*"
4138
- name: Publish
4239
uses: softprops/action-gh-release@v2
4340
with:
44-
files: "Flow.Launcher.Plugin.KubernetesContextSwitcher/Flow.Launcher.Plugin.KubernetesContextSwitcher.zip"
41+
files: "Flow.Launcher.Plugin.KubernetesContextSwitcher.zip"
4542
tag_name: "v${{steps.version.outputs.prop}}"
4643
env:
4744
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0-windows7.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<AssemblyName>Flow.Launcher.Plugin.KubernetesContextSwitcher</AssemblyName>
8+
<RootNamespace>Flow.Launcher.Plugin.KubernetesContextSwitcher</RootNamespace>
9+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
10+
<Version>1.0.1</Version>
11+
<Authors>Robin Hermann</Authors>
12+
<Description>A Flow Launcher plugin to switch Kubernetes contexts quickly</Description>
13+
<PackageId>Flow.Launcher.Plugin.KubernetesContextSwitcher</PackageId>
14+
<PackageProjectUrl>https://github.com/R-Studio/Flow.Launcher.Plugin.KubernetesContextSwitcher</PackageProjectUrl>
15+
<RepositoryUrl>https://github.com/R-Studio/Flow.Launcher.Plugin.KubernetesContextSwitcher</RepositoryUrl>
16+
</PropertyGroup>
17+
18+
<ItemGroup>
19+
<PackageReference Include="Flow.Launcher.Plugin" Version="4.6.0" />
20+
</ItemGroup>
21+
22+
<ItemGroup>
23+
<Content Include="plugin.json">
24+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
25+
</Content>
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<None Update="images\k8s.png">
30+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
31+
</None>
32+
</ItemGroup>
33+
34+
<ItemGroup>
35+
<None Update="images\error.png">
36+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
37+
</None>
38+
</ItemGroup>
39+
40+
</Project>

Flow.Launcher.Plugin.KubernetesContextSwitcher/Flow.Launcher.Plugin.KubernetesContextSwitcher.csproj

Lines changed: 0 additions & 19 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Version": "1.0.1",
88
"Language": "csharp",
99
"Website": "https://github.com/r-studio/Flow.Launcher.Plugin.KubernetesContextSwitcher",
10-
"IcoPath": "Images\\k8s.png",
10+
"IcoPath": "Images/k8s.png",
1111
"ExecuteFileName": "Flow.Launcher.Plugin.KubernetesContextSwitcher.dll",
1212
"Disabled": false
1313
}

0 commit comments

Comments
 (0)