From ec200c66bac853be7ab3044fecb14135da1d998c Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sat, 3 Jan 2026 20:33:47 +0100 Subject: [PATCH] fix(ci): Use curl for release creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release-action requires Go which isn't in the runner image. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/build.yml | 14 ++++++-------- CHANGELOG.md | 5 +++++ pyproject.toml | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e8bc0c5..1f5b8c9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -9,15 +9,13 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Create Gitea Release - uses: https://gitea.com/actions/release-action@main - with: - title: Release ${{ github.ref_name }} - body: "Automated release for ${{ github.ref_name }}" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + curl -sf -X POST \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d '{"tag_name": "${{ github.ref_name }}", "name": "Release ${{ github.ref_name }}", "body": "Automated release for ${{ github.ref_name }}"}' \ + "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases" build: runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 5aa3abe..1207da4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to The Scheduler will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [1.1.2] - 2026-01-03 + +### Fixed +- CI: Use curl for release creation (release-action requires Go) + ## [1.1.1] - 2026-01-03 ### Changed diff --git a/pyproject.toml b/pyproject.toml index 1de3029..c1d4e60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "the-scheduler" -version = "1.1.1" +version = "1.1.2" description = "System-wide maintenance orchestration - backups, doc mirroring, cleanup, task automation" readme = "README.md" requires-python = ">=3.12"