mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 20:07:03 +01:00
161bc4ced0
(cherry picked from commit0b43b1f091
) (cherry picked from commitcfc205f438
) (cherry picked from commitebeb421177
) (cherry picked from commit083329e0a0
) [CI] end to end tests (squash) use cascading-pr/end-to-end (cherry picked from commit8cad18b6bf
) (cherry picked from commit44a3ba1fcf
) [CI] end to end tests (squash) use cascading-pr/end-to-end (part 2) (cherry picked from commit33dbb715e0
) (cherry picked from commite1e08786ec
) (cherry picked from commit763aee7005
)
16 lines
326 B
Bash
Executable file
16 lines
326 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
end_to_end=$1
|
|
end_to_end_pr=$2
|
|
forgejo=$3
|
|
forgejo_pr=$4
|
|
|
|
url=$(jq --raw-output .head.repo.html_url < $forgejo_pr)
|
|
test "$url" != null
|
|
branch=$(jq --raw-output .head.ref < $forgejo_pr)
|
|
test "$branch" != null
|
|
cd $end_to_end
|
|
echo $url $branch 7.0.0+0-gitea-1.22.0 > forgejo/sources/1.22
|
|
date > last-upgrade
|