generated from MrSphay/codex-agent-repository-kit
Use public Gitea API for release asset upload
Some checks failed
Build MrTrust / build (push) Failing after 4m22s
Some checks failed
Build MrTrust / build (push) Failing after 4m22s
This commit is contained in:
@@ -65,7 +65,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="0.1.2"
|
||||
api="http://gitea:3000/api/v1/repos/${GITHUB_REPOSITORY}"
|
||||
api="https://git.wilkensxl.de/api/v1/repos/MrSphay/MrTrust"
|
||||
release_json="$(curl -fsS -H "Authorization: token ${GITEA_TOKEN}" "${api}/releases/tags/v${version}")"
|
||||
release_id="$(printf '%s' "$release_json" | sed -n 's/.*"id":\([0-9][0-9]*\).*/\1/p' | head -n 1)"
|
||||
if [ -z "$release_id" ]; then
|
||||
|
||||
Reference in New Issue
Block a user