Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 21:26:10 +01:00
forgejo/.forgejo/cascading-pr-end-to-end
Earl Warren cfc205f438
[CI] end to end tests
(cherry picked from commit 0b43b1f091)
2023-10-30 13:11:20 +01:00

16 lines
315 B
Bash
Executable file

#!/bin/bash
set -ex
end_to_end=$1
end_to_end_pr=$2
forgejo_pr=$3
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