Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net8 #1

Merged
merged 8 commits into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -text
28 changes: 14 additions & 14 deletions .github/workflows/abstract-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Build version'
required: true
type: string
default: '2.0.0'
default: '3.0.0'
is-release:
description: 'Release'
type: boolean
Expand Down Expand Up @@ -44,14 +44,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4.0.0
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install .NET
uses: actions/setup-dotnet@v3.2.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Publish
run: |
Expand All @@ -77,7 +77,7 @@ jobs:
run: Compress-Archive -Path ${{ env.PublishOutputPath }}\* -DestinationPath ${{ env.DistributionZipFilePath }}

- name: Upload build artifacts
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: Output
Expand All @@ -95,14 +95,14 @@ jobs:

steps:
- name: Download build artifacts
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4

- name: GitHub release
uses: softprops/[email protected]
with:
name: '${{ inputs.plugin-friendly-name }} ${{ inputs.version }}'
tag_name: '${{ inputs.github-tag-prefix }}-${{ inputs.version }}'
draft: true
files: '**/*.zip'
body_path: 'Output/${{ inputs.plugin-folder }}/ReleaseNotes.md'
fail_on_unmatched_files: true
env:
GH_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release create '${{ inputs.github-tag-prefix }}-${{ inputs.version }}' (Get-Item Output/*.zip) `
--draft `
--title '${{ inputs.plugin-friendly-name }} ${{ inputs.version }}' `
--notes-file 'Output/${{ inputs.plugin-folder }}/ReleaseNotes.md'
2 changes: 1 addition & 1 deletion .github/workflows/files-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Build version'
required: true
type: string
default: '2.0.0'
default: '3.0.0'
is-release:
description: 'Release'
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/images-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Build version'
required: true
type: string
default: '2.0.0'
default: '3.0.0'
is-release:
description: 'Release'
type: boolean
Expand Down
1 change: 1 addition & 0 deletions JustClipboardManagerPlugins.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0A74BCC2-2D04-4707-9768-7362F5D2919A}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
LICENSE = LICENSE
plugins-list.json = plugins-list.json
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Yevheniy Tymchishin
Copyright (c) 2023-2024 Yevheniy Tymchishin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Tum4ik.JustClipboardManager.FilesPlugin/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Extracted functionality from the previous application version.
Updates for major application version.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<AnalysisMode>All</AnalysisMode>
Expand All @@ -12,7 +12,7 @@
<PropertyGroup>
<Authors>Yevheniy Tymchishin</Authors>
<Company>Tum4ik</Company>
<Copyright>© 2023 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Copyright>© 2023-2024 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Product>JCM Files Plugin</Product>
</PropertyGroup>

Expand All @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="2.0.23285.21" />
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="3.0.24096.2" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Tum4ik.JustClipboardManager.ImagesPlugin/Image.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private static byte[] GetBitmapBytes(Bitmap data)
}


private static BitmapSource GetBitmapSourceFromBytes(byte[] bytes)
private static BitmapFrame GetBitmapSourceFromBytes(byte[] bytes)
{
using var memoryStream = new MemoryStream(bytes);
return BitmapFrame.Create(memoryStream, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.OnLoad);
Expand Down
2 changes: 1 addition & 1 deletion Tum4ik.JustClipboardManager.ImagesPlugin/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Extracted functionality from the previous application version.
Updates for major application version.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<AnalysisMode>All</AnalysisMode>
Expand All @@ -12,13 +12,13 @@
<PropertyGroup>
<Authors>Yevheniy Tymchishin</Authors>
<Company>Tum4ik</Company>
<Copyright>© 2023 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Copyright>© 2023-2024 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Product>JCM Images Plugin</Product>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="2.0.23285.21" />
<PackageReference Include="System.Drawing.Common" Version="8.0.3" />
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="3.0.24096.2" />
</ItemGroup>

</Project>