Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
runs-on: windows-latest
timeout-minutes: 30
env:
PACKAGE_VERSION: 1.0.1
PACKAGE_VERSION: 1.0.2
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion src/CsvVisualEditor/CsvVisualEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<IsPackable>false</IsPackable>
<AssemblyName>CsvVisualEditor</AssemblyName>
<RootNamespace>CsvVisualEditor</RootNamespace>
<Version>1.0.1</Version>
<Version>1.0.2</Version>
<Authors>Zolnai Zsolt</Authors>
<Copyright>Copyright © 2026 Zolnai Zsolt</Copyright>
<Description>A 64-bit Notepad++ plugin for viewing, editing, filtering and inspecting CSV data in a docked table.</Description>
Expand Down
14 changes: 7 additions & 7 deletions tests/release/test_release_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

class ReleasePackageTests(unittest.TestCase):
def test_entry_matches_plugins_admin_contract(self):
entry = release.plugin_admin_entry("1.0.1", "a" * 64)
entry = release.plugin_admin_entry("1.0.2", "a" * 64)
self.assertEqual("CsvVisualEditor", entry["folder-name"])
self.assertEqual("CSV Visual Editor", entry["display-name"])
self.assertEqual("1.0.1", entry["version"])
self.assertEqual("1.0.2", entry["version"])
self.assertEqual("[8.9.8,]", entry["npp-compatible-versions"])
self.assertEqual("a" * 64, entry["id"])
self.assertTrue(entry["repository"].endswith(
"/releases/download/v1.0.1/CsvVisualEditor-1.0.1-win-x64.zip"
"/releases/download/v1.0.2/CsvVisualEditor-1.0.2-win-x64.zip"
))
self.assertEqual("Zolnai Zsolt", entry["author"])

Expand All @@ -36,7 +36,7 @@ def test_archive_requires_root_dll_and_notices(self):
archive.writestr("CsvVisualEditor.dll", dll.read_bytes())
archive.writestr("LICENSE.txt", "GPL")
archive.writestr("THIRD_PARTY_NOTICES.txt", "third-party")
zip_hash, dll_hash = release.verify_archive(package, dll, "1.0.1")
zip_hash, dll_hash = release.verify_archive(package, dll, "1.0.2")
self.assertEqual(64, len(zip_hash))
self.assertEqual(release.sha256_bytes(dll.read_bytes()), dll_hash)

Expand All @@ -49,14 +49,14 @@ def test_nested_dll_is_rejected(self):
archive.writestr("LICENSE.txt", "GPL")
archive.writestr("THIRD_PARTY_NOTICES.txt", "third-party")
with self.assertRaises(ValueError):
release.verify_archive(package, None, "1.0.1")
release.verify_archive(package, None, "1.0.2")

def test_repository_declares_stable_gpl_release(self):
project = (ROOT / "src/CsvVisualEditor/CsvVisualEditor.csproj").read_text(encoding="utf-8")
self.assertIn("<Version>1.0.1</Version>", project)
self.assertIn("<Version>1.0.2</Version>", project)
self.assertIn("<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>", project)
workflow = (ROOT / ".github/workflows/ci.yml").read_text(encoding="utf-8")
self.assertIn("PACKAGE_VERSION: 1.0.1", workflow)
self.assertIn("PACKAGE_VERSION: 1.0.2", workflow)
build = (ROOT / "tools/build-local.ps1").read_text(encoding="utf-8")
self.assertIn("Join-Path $layout 'CsvVisualEditor.dll'", build)
self.assertIn("LICENSE.txt", build)
Expand Down
Loading