fix: address review comments

- Update [unreleased] changelog link to start from new version
- Remove misleading notes about automatic version updates from issue templates
  (release workflow no longer auto-updates template version lists)
This commit is contained in:
Ollama
2026-04-08 07:45:18 +00:00
committed by jekkos
parent 3038f83a4a
commit 0ac427b2b1
3 changed files with 3 additions and 10 deletions

View File

@@ -18,11 +18,6 @@ body:
> ⚠️ **Important:** Submit a separate bug report for each problem you encounter.
>
> 🚫 Do not include personal identifying information such as email addresses or encryption keys.
---
> 📝 **Note:** The version list is automatically updated when a new release is created.
> See [`.github/workflows/release.yml`](../.github/workflows/release.yml) for details.
# ─────────────────────────────────────────────────────────────────────────────
# PROBLEM DESCRIPTION

View File

@@ -15,11 +15,6 @@ body:
We appreciate you taking the time to help improve OpenSourcePOS.
> 📋 **Before submitting:** Please search [existing feature requests](https://github.com/opensourcepos/opensourcepos/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) to ensure your idea hasn't already been suggested.
---
> 📝 **Note:** The version list is automatically updated when a new release is created.
> See [`.github/workflows/release.yml`](../.github/workflows/release.yml) for details.
# ─────────────────────────────────────────────────────────────────────────────
# FEATURE DETAILS

View File

@@ -115,6 +115,9 @@ jobs:
# Insert new link after [unreleased] line
sed -i "/^\[unreleased\]/a $NEW_LINK" "$CHANGELOG_FILE"
# Update [unreleased] link to start from new version
sed -i "s|^\[unreleased\]: .*|\[unreleased\]: https://github.com/opensourcepos/opensourcepos/compare/${NEW_VERSION}...HEAD|" "$CHANGELOG_FILE"
# Create version header and content
VERSION_DATE=$(date +%Y-%m-%d)
VERSION_HEADER="## [$NEW_VERSION] - $VERSION_DATE"