mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-11-23 21:31:33 +00:00
add scripts to r10
This commit is contained in:
parent
e7195fc0ea
commit
306cfbc6f2
17
scripts/conv-to-beta.sh
Normal file
17
scripts/conv-to-beta.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
#git branch -D r10-beta
|
||||
TOSET="$1"
|
||||
|
||||
if [ -z "$TOSET" ]; then
|
||||
echo "empty version"
|
||||
exit 12
|
||||
fi
|
||||
|
||||
git branch -D r10-beta
|
||||
git checkout -b r10-beta
|
||||
sed -i "/^VERSION/ s/10-lh/$TOSET/g" rocky/variables.conf
|
||||
sed -i "s/r10s/r10-beta/g" rocky/variables.conf
|
||||
git add -A
|
||||
git commit -m "Set to $TOSET and prep"
|
||||
|
||||
echo "Use git push -f to push to r10-beta"
|
7
scripts/conv-to-stable.sh
Normal file
7
scripts/conv-to-stable.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
git branch -D r10
|
||||
git checkout -b r10
|
||||
sed -i "s/r10-beta/r10/g" rocky/variables.conf
|
||||
git add -A
|
||||
git commit -m "Set to stable"
|
||||
echo "Use git push -f to push to r10"
|
Loading…
Reference in New Issue
Block a user