diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 3abbc48d..9de088fe 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -1,4 +1,4 @@ -# 1. Update changelog +# 1. Bump the package version # 2. Upload a Python Package using Twine name: Release fosslight_util @@ -8,7 +8,7 @@ on: types: [published] jobs: - update-changelog: + bump-version: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 @@ -32,18 +32,12 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "fosslight-dev@lge.com" sed -i "s/^version = \".*\"/version = \"$new_version\"/" pyproject.toml - - name: Update changelog with gren - env: - GREN_GITHUB_TOKEN: ${{ secrets.TOKEN }} - run: | - npm install github-release-notes@0.17.3 - node_modules/.bin/gren changelog --override - name: Commit files run: | git config --global user.name "github-actions[bot]" git config --global user.email "fosslight-dev@lge.com" - git add CHANGELOG.md pyproject.toml - git commit -m "Update ChangeLog" + git add pyproject.toml + git commit -m "chore: bump package version" - name: Push changes uses: ad-m/github-push-action@v1.3.0 with: @@ -52,7 +46,7 @@ jobs: deploy: runs-on: ubuntu-latest - needs: update-changelog + needs: bump-version steps: - uses: actions/checkout@v7 with: diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 2d8337b8..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,273 +0,0 @@ -# Changelog - -## v2.2.17 (15/10/2026) -## Changes -## 🔧 Maintenance - -- fix(log): preserve the active handler when destination setup fails @shin4141 (#319) - ---- - -## v2.2.16 (02/10/2026) -## Changes -## 🐛 Hotfixes - -- fix(encoding): read child process output and resource files as UTF-8 @bjk7119 (#318) - ---- - -## v2.2.15 (01/10/2026) -## Changes -## 🐛 Hotfixes - -- fix(download): return a failure on download timeout instead of ending the process @bjk7119 (#317) - -## 🔧 Maintenance - -- chore(log): lower routine messages to debug @soimkim (#316) -- fix(oss_item): preserve copyright statement order @soimkim (#315) - ---- - -## v2.2.14 (17/09/2026) -## Changes -## 🚀 Features - -- fix(cyclonedx): enable cross-platform output and update BOM metadata @JustinWonjaePark (#314) - -## 🐛 Hotfixes - -- Preserve target contents on failure @bjk7119 (#313) - -## 🔧 Maintenance - -- Pin gitpython and set package version @bjk7119 (#312) - ---- - -## v2.2.13 (14/09/2026) -## Changes -## 🐛 Hotfixes - -- Resolve npm registry tarball urls and honor checkout version @bjk7119 (#303) - ---- - -## v2.2.12 (07/09/2026) -## Changes -## 🐛 Hotfixes - -- Drop scanner-owned filename lists from util @soimkim (#311) - ---- - -## v2.2.11 (01/09/2026) -## Changes -## ✨ Improvements - -- Look up excluded parents in a set @soimkim (#310) - ---- - -## v2.2.10 (30/08/2026) -## Changes -## 🐛 Hotfixes - -- Write log files with utf-8 encoding @soimkim (#309) - -## 🔧 Maintenance - -- Include DEP sheets and relax empty-row filter @bjk7119 (#300) - ---- - -## v2.2.9 (27/08/2026) -## Changes -## 🐛 Hotfixes - -- Download > derive clarified_version from the selected git ref @soimkim (#305) - -## 🔧 Maintenance - -- Add gradlew and gradlew.bat to exclude list @soimkim (#308) -- Exclude __tests__ directories by default. @soimkim (#307) -- Include improvement label in release drafter Features category. @soimkim (#306) - ---- - -## v2.2.8 (23/08/2026) -## Changes -## 🔧 Maintenance - -- Exclude gradle/vite/lockfiles @soimkim (#304) - ---- - -## v2.2.7 (19/08/2026) -## Changes -## 🔧 Maintenance - -- Upgrade cyclonedx-python-lib to v11 @JustinWonjaePark (#302) - ---- - -## v2.2.6 (12/08/2026) -## Changes -## 🐛 Hotfixes - -- Probe known Maven repos for sources jars @soimkim (#301) - ---- - -## v2.2.5 (02/08/2026) -## Changes -## 🐛 Hotfixes - -- Preserve 0.x.y clarified_version and match npm scope tages @soimkim (#297) - ---- - -## v2.2.4 (28/07/2026) -## Changes -## 🔧 Maintenance - -- Add size limit guard for git clone and wget downloads @bjk7119 (#295) - ---- - -## v2.2.3 (27/07/2026) -## Changes -## 🚀 Features - -- feat(download): support Packagist PHP package source download @soimkim (#296) - ---- - -## v2.2.2 (09/07/2026) -## Changes -## 🔧 Maintenance - -- Add shared running time formatting for cover and logs @bjk7119 (#288) - ---- - -## v2.2.1 (09/07/2026) -## Changes -## 🔧 Maintenance - -- Resolve repo-prefixed version tags on checkout @soimkim (#293) -- Migrate to REUSE.toml and update GitHub Actions @woocheol-lge (#292) - ---- - -## v2.2.0 (03/07/2026) -## Changes -## 🐛 Hotfixes - -- fix(oss_item): fix checksum from file content @dd-jy (#290) - -## 🔧 Maintenance - -- Write file:// download locations without hyperlink conversion @soimkim (#291) - ---- - -## v2.1.64 (03/07/2026) -## Changes -## 🔧 Maintenance - -- Centralize comment delimiter in COMMENT_DELIMITER constant @soimkim (#289) -- Handle None values @JustinWonjaePark (#287) - ---- - -## v2.1.63 (02/07/2026) -## Changes -## 🐛 Hotfixes - -- Resolve validated checkout ref before git clone @bjk7119 (#285) - ---- - -## v2.1.62 (01/07/2026) -## Changes -## 🔧 Maintenance - -- Hide sheets whose name starts with a dot @soimkim (#286) - ---- - -## v2.1.61 (25/06/2026) -## Changes -## 🔧 Maintenance - -- Normalize tar extraction permissions for inaccessible archives @bjk7119 (#284) - ---- - -## v2.1.60 (09/06/2026) -## Changes -## 🔧 Maintenance - -- Remove unused column header for bin. analysis @bjk7119 (#282) -- Fix license nick typo @bjk7119 (#275) - ---- - -## v2.1.59 (26/05/2026) -## Changes -## 🔧 Maintenance - -- Return resolved download links in downloader output @soimkim (#281) - ---- - -## v2.1.58 (19/05/2026) -## Changes -## 🔧 Maintenance - -- Add boundary-aware suffix fallback for git checkout ref resolution @soimkim (#280) - ---- - -## v2.1.57 (14/05/2026) -## Changes -## 🚀 Features - -- Support HTTP(S) .src.rpm and .rpm extract after wget @soimkim (#279) - ---- - -## v2.1.56 (14/05/2026) -## Changes -## 🔧 Maintenance - -- Revert "Emit major-only clarified_version for android.googlesource URLs" @soimkim (#278) - ---- - -## v2.1.55 (06/05/2026) -## Changes -## 🔧 Maintenance - -- Download > Search debina tarball across all suite tiers, not only stable @soimkim (#277) - ---- - -## v2.1.54 (06/05/2026) -## Changes -## 🐛 Hotfixes - -- Download > preserve full dotted-numeric versions for clarified_version @soimkim (#276) - ---- - -## v2.1.53 (30/04/2026) -## Changes -## 🐛 Hotfixes - -- Improve error handling for failed HTTP downloads @soimkim (#273) - -## 🔧 Maintenance - -- Hide URL in 'Not a downloadable link' error log @soimkim (#274)