From 6a86cc8cce27f0ed5a2f343dc76ae1c3617894a6 Mon Sep 17 00:00:00 2001 From: Ganonmaster Date: Sat, 11 Apr 2026 22:53:33 +0200 Subject: [PATCH] Release v0.2.4 --- .gitea/workflows/release.yml | 3 +-- CHANGELOG.md | 9 ++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6daff74..ae4399d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -51,7 +51,6 @@ jobs: GITEA_URL: ${{ github.server_url }} REPO: ${{ github.repository }} TAG: ${{ github.ref_name }} - SHA: ${{ github.sha }} run: | # Gitea may not have finished processing the tag ref by the time the # workflow runner starts, so retry a few times before giving up. @@ -61,7 +60,7 @@ jobs: -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ "${GITEA_URL}/api/v1/repos/${REPO}/releases" \ - -d "{\"tag_name\":\"${TAG}\",\"name\":\"${TAG}\",\"target_commitish\":\"${SHA}\",\"draft\":false,\"prerelease\":false}") + -d "{\"tag_name\":\"${TAG}\",\"name\":\"${TAG}\",\"draft\":false,\"prerelease\":false}") HTTP_CODE=$(echo "$RESPONSE" | tail -1) BODY=$(echo "$RESPONSE" | head -1) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebeab58..134b98e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.4] - 2026-04-11 + +### Fixed +- Gitea release workflow: remove `target_commitish` from release creation API + call to fix 409 conflict when creating releases for existing tags. + ## [0.2.3] - 2026-04-11 ### Fixed @@ -50,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Database migrations run automatically on startup. - GitHub Actions release workflow building a Linux binary on `v*` tag push. -[Unreleased]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.3...HEAD +[Unreleased]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.4...HEAD +[0.2.4]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.3...v0.2.4 [0.2.3]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.2...v0.2.3 [0.2.2]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.1...v0.2.2 [0.2.1]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.0...v0.2.1