Skip to content
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
27 changes: 21 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,40 @@ jobs:

- name: Check for unreleased version
id: tag
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=$(node -p "require('./package.json').version")
TAG="v${VERSION}"
if git rev-parse "$TAG" >/dev/null 2>&1; then
echo "Tag $TAG already exists — nothing to release."
# Check if a GitHub Release (not just a tag) exists for this version.
# Tags are now created on the development branch before merging to main,
# so we check for the Release object instead.
if gh release view "$TAG" >/dev/null 2>&1; then
echo "GitHub Release $TAG already exists — nothing to release."
echo "should_release=false" >> "$GITHUB_OUTPUT"
else
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "should_release=true" >> "$GITHUB_OUTPUT"
echo "New version ${VERSION} detected — will create tag and release."
echo "New version ${VERSION} detected — will create release."
fi

- name: Create version tag
- name: Ensure version tag points to this commit
if: steps.tag.outputs.should_release == 'true'
env:
TAG_VERSION: ${{ steps.tag.outputs.version }}
run: |
git tag "v${TAG_VERSION}"
git push origin "v${TAG_VERSION}"
TAG="v${TAG_VERSION}"
if git rev-parse "$TAG" >/dev/null 2>&1; then
TAG_SHA="$(git rev-list -n 1 "$TAG")"
if [ "$TAG_SHA" != "$GITHUB_SHA" ]; then
echo "Tag $TAG points to $TAG_SHA, retagging to $GITHUB_SHA (main merge commit)."
git tag -f "$TAG" "$GITHUB_SHA"
git push origin "$TAG" --force
fi
else
git tag "$TAG"
git push origin "$TAG"
fi

- name: Log in to GHCR
if: steps.tag.outputs.should_release == 'true'
Expand Down
38 changes: 24 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,50 @@
# Changelog

## [2.8.7](https://github.com/jordanlambrecht/tracker-tracker/compare/v2.8.6...v2.8.7) (2026-04-10)
## [2.8.9](https://github.com/jordanlambrecht/tracker-tracker/compare/v2.8.8...v2.8.9) (2026-04-10)


### Features
### Bug Fixes

- timeout for fetch requests
- ensure version tag points to the correct commit during release

- **trackers:** detects truncated cookies
## [2.8.8](https://github.com/jordanlambrecht/tracker-tracker/compare/v2.8.7...v2.8.8) (2026-04-10)


### Bug Fixes

- **events:** update event categories and improve error logging
- **trackers:** missing profile parsing items for AnimeZ
- **release:** broken auto-release ci

## [2.8.6](https://github.com/jordanlambrecht/tracker-tracker/compare/v2.8.5...v2.8.6) (2026-04-09)
## [2.8.7](https://github.com/jordanlambrecht/tracker-tracker/releases/tag/v2.8.7) (2026-04-10)

### Features

### Bug Fixes
* **trackers:** detects truncated cookies

- **trackers:** profile parsing
### Bug Fixes

## [2.8.5](https://github.com/jordanlambrecht/tracker-tracker/compare/v2.8.4...v2.8.5) (2026-04-09)
* **events:** update event categories and improve error logging
* **trackers:** missing profile parsing items for AnimeZ

## [2.8.6](https://github.com/jordanlambrecht/tracker-tracker/releases/tag/v2.8.6) (2026-04-09)

### Bug Fixes

- changelog now shows all missed releases not just latest
- **trackers:** add batch tolerance for overdue checks to prevent drift
* **trackers:** profile parsing

## [2.8.5](https://github.com/jordanlambrecht/tracker-tracker/releases/tag/v2.8.5) (2026-04-09)

### Bug Fixes

## [2.8.4](https://github.com/jordanlambrecht/tracker-tracker/compare/v2.8.3...v2.8.4) (2026-04-09)
* changelog now shows all missed releases not just latest
* **trackers:** add batch tolerance for overdue checks to prevent drift

## [2.8.4](https://github.com/jordanlambrecht/tracker-tracker/releases/tag/v2.8.4) (2026-04-09)

### Features

- new "What's New" dialog
- **settings:** log files now batch in the events tab
* new "What's New" dialog
* **settings:** log files now batch in the events tab

## [2.8.3](https://github.com/jordanlambrecht/tracker-tracker/releases/tag/v2.8.3) (2026-04-09)

Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "private-tracker-tracker",
"version": "2.8.7",
"version": "2.8.9",
"description": "Self-hosted dashboard for monitoring private tracker stats over time",
"license": "GPL-3.0",
"repository": {
Expand Down Expand Up @@ -69,9 +69,9 @@
"pino-pretty": "^13.1.3",
"postgres": "^3.4.9",
"qrcode.react": "^4.2.0",
"react": "19.2.4",
"react": "19.2.5",
"react-colorful": "^5.6.1",
"react-dom": "19.2.4",
"react-dom": "19.2.5",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"socks-proxy-agent": "^10.0.0"
Expand All @@ -85,19 +85,18 @@
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jsdom": "^28.0.1",
"@types/node": "^25.5.2",
"@types/node": "^25.6.0",
"@types/node-cron": "^3.0.11",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"commit-and-tag-version": "^12.7.1",
"conventional-changelog-cli": "^5.0.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"dotenv": "^17.4.1",
"husky": "^9.1.7",
"jsdom": "^29.0.2",
"knip": "^6.3.1",
"postcss": "^8.5.9",
"prettier": "^3.8.1",
"prettier": "^3.8.2",
"tailwindcss": "^4.2.2",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
Expand Down
Loading
Loading