From 82f02b3c8a23e607b273922a059eb926d1c56bb9 Mon Sep 17 00:00:00 2001 From: kgfly <12282281+kgfly@users.noreply.github.com> Date: Sun, 23 Aug 2026 05:54:38 +0000 Subject: [PATCH] package --- .github/ISSUE_TEMPLATE/bug_report.yml | 14 +++++++++++++- .github/ISSUE_TEMPLATE/config.yml | 2 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 12 ++++++++++++ .github/workflows/package.yml | 7 +++---- 4 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 193dc4e..fff49cf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -2,6 +2,18 @@ name: Bug Report description: Report a bug in SimpleNvimEditor labels: ["bug"] body: + - type: markdown + attributes: + value: Please kindly search the existing (open/closed) issues before filing issues. + + - type: checkboxes + id: duplicate-check + attributes: + label: Duplicate check + options: + - label: I have searched existing open and closed issues. + required: true + - type: input id: version attributes: @@ -16,7 +28,7 @@ body: attributes: label: CPU architecture options: - - x64 + - amd64 - arm64 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..64eb98d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,2 @@ +blank_issues_enabled: true +contact_links: [] diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 41cbd70..060edc1 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -2,6 +2,18 @@ name: Feature Request description: Suggest a new feature or improvement labels: ["enhancement"] body: + - type: markdown + attributes: + value: Please kindly search the existing (open/closed) issues before filing issues. + + - type: checkboxes + id: duplicate-check + attributes: + label: Duplicate check + options: + - label: I have searched existing open and closed issues. + required: true + - type: textarea id: description attributes: diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 809c474..3eac7ef 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -59,11 +59,10 @@ jobs: mkdir -p dist nfpm package -f packaging/nfpm.yaml -p deb -t dist/ nfpm package -f packaging/nfpm.yaml -p rpm -t dist/ - # Rename to include "linux" in filenames for clarity. + # Rename to a consistent simplenvim--linux..{deb,rpm} pattern. cd dist - for f in *.deb *.rpm; do - mv "$f" "$(echo "$f" | sed 's/^simplenvim_/simplenvim_linux_/' | sed 's/^simplenvim-/simplenvim-linux-/')" - done + for f in *.deb; do mv "$f" "simplenvim-${VERSION}-linux.${ARCH}.deb"; done + for f in *.rpm; do mv "$f" "simplenvim-${VERSION}-linux.${ARCH}.rpm"; done ls -l - uses: actions/upload-artifact@v4