Compare commits

..

2 Commits

Author SHA1 Message Date
azy5030 34bb3db0fd fix(gitea-runner): fetch source via /api/v1 archive endpoint
CI / build (push) Successful in 6m42s
gitea.com now redirects unauthenticated /gitea/runner/archive/v*.tar.gz to /user/login. The /api/v1/repos/gitea/runner/archive/v*.tar.gz endpoint still serves anonymously and returns byte-identical contents, so the Manifest is unchanged.
2026-06-14 00:02:22 -05:00
gitea-actions 16ba4a02c5 dev-util/gitea-runner: bump to 1.0.7
CI / build (push) Failing after 5m20s
2026-05-30 05:08:54 +00:00
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
DIST gitea-runner-1.0.8-vendor.tar.xz 3018704 BLAKE2B 39b861b1b454a22f23c80bacd551127d0812b71a336c79032fa01f8df834eca23e030479da76fc12358af955f7cb56bcc541b99df1fd7880a62fbf35b8859d4c SHA512 0f21ba48db4bbb9fc0738543a7123e884e93ab5b423b6ff99dfa913d6df6cf0db4d96bff2e32b82beee9fef8e81cfdef849d58050fe8d9a2abddb55af7da8a38 DIST gitea-runner-1.0.7-vendor.tar.xz 3018704 BLAKE2B 39b861b1b454a22f23c80bacd551127d0812b71a336c79032fa01f8df834eca23e030479da76fc12358af955f7cb56bcc541b99df1fd7880a62fbf35b8859d4c SHA512 0f21ba48db4bbb9fc0738543a7123e884e93ab5b423b6ff99dfa913d6df6cf0db4d96bff2e32b82beee9fef8e81cfdef849d58050fe8d9a2abddb55af7da8a38
DIST gitea-runner-1.0.8.tar.gz 342382 BLAKE2B b683869e3948969677f8b606c5d537666d014655f05b8eab49ea30435c68b9f93b84b0b5d3885ff4ceb5a8baf06492a4741721dbef5fabce29cdfb28f52be26f SHA512 1630d93e7b5dc63739a3814a14f4077397486c0fbf67394657de8c25841682a24d6985cb9238e9bbd5381419c8fc5ac6b1402e08e84b5d297a5cce090232a5b1 DIST gitea-runner-1.0.7.tar.gz 340157 BLAKE2B 7dc0fb3026e02c14052d4983f265adf787d9f3f01d856e81a4297a3163a1d2efe19f5ae6b9132fe4520ca551c84e7749ea33c7eeff87806870b0a9b60c54719f SHA512 8f0c69bb0e416efca1b63ae37cad0f740a5093bc569711b9327cd11a69f40d1037e59dc547ad3a88e8d6be7fa669a3acf58ac775237932f2872c492a7812cf96
+3 -3
View File
@@ -10,8 +10,8 @@ set -euo pipefail
PN="gitea-runner" PN="gitea-runner"
UPSTREAM_RSS="https://gitea.com/gitea/runner/releases.rss" UPSTREAM_RSS="https://gitea.com/gitea/runner/releases.rss"
UPSTREAM_ARCHIVE="https://gitea.com/api/v1/repos/gitea/runner/archive" UPSTREAM_ARCHIVE="https://gitea.com/gitea/runner/archive"
UPSTREAM_GOMOD="https://gitea.com/api/v1/repos/gitea/runner/raw/go.mod" UPSTREAM_GOMOD="https://gitea.com/gitea/runner/raw/tag"
: "${BUMP_TOKEN:?BUMP_TOKEN is required}" : "${BUMP_TOKEN:?BUMP_TOKEN is required}"
: "${GITHUB_SERVER_URL:?GITHUB_SERVER_URL is required}" : "${GITHUB_SERVER_URL:?GITHUB_SERVER_URL is required}"
@@ -82,7 +82,7 @@ git checkout -b "$branch"
git mv "${pkgdir}/${PN}-${current}.ebuild" "${pkgdir}/${PN}-${latest}.ebuild" git mv "${pkgdir}/${PN}-${current}.ebuild" "${pkgdir}/${PN}-${latest}.ebuild"
# Track the upstream go.mod's required Go version in BDEPEND. # Track the upstream go.mod's required Go version in BDEPEND.
goreq=$(curl -fsSL "${UPSTREAM_GOMOD}?ref=v${latest}" \ goreq=$(curl -fsSL "${UPSTREAM_GOMOD}/v${latest}/go.mod" \
| grep -oE '^go [0-9]+\.[0-9]+(\.[0-9]+)?' | awk '{print $2}') | grep -oE '^go [0-9]+\.[0-9]+(\.[0-9]+)?' | awk '{print $2}')
[ -n "$goreq" ] && sed -i -E \ [ -n "$goreq" ] && sed -i -E \
"s#^BDEPEND=\">=dev-lang/go-[0-9.]+\"#BDEPEND=\">=dev-lang/go-${goreq}\"#" \ "s#^BDEPEND=\">=dev-lang/go-[0-9.]+\"#BDEPEND=\">=dev-lang/go-${goreq}\"#" \