The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/beakerlib#4d7d2d6fd07ed9218ccb4cd1fa9ccc64f23fd62c
12 lines
408 B
Bash
Executable File
12 lines
408 B
Bash
Executable File
#!/bin/bash
|
|
first_branch=$(head -n 1 supported-releases)
|
|
current_branch=$(git rev-parse --abbrev-ref HEAD)
|
|
next_branch=$(grep -A 1 $current_branch supported-releases | tail -n 1)
|
|
[[ "$next_branch" == "$current_branch" ]] && next_branch=$first_branch
|
|
|
|
git merger master && \
|
|
git push && \
|
|
fedpkg build --nowait && \
|
|
git checkout $next_branch && \
|
|
[[ "$next_branch" != "$first_branch" ]] && exec ./build-chain
|