Skip to content

Commit

Permalink
reuse existing alpine aports branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 7, 2023
1 parent bb0388d commit 7a8dfc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release-alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ git config --global user.email [email protected]
git clone https://gitlab.alpinelinux.org/alpine/aports /home/packager/aports
cd /home/packager/aports
git config --local core.hooksPath .githooks
git remote add jdxcode "https://jdxcode:$GITLAB_TOKEN@gitlab.alpinelinux.org/jdxcode/aports.git"
git checkout -b rtx --track jdxcode/rtx || git checkout -b rtx
cd community/rtx

sed -i "s/pkgver=.*/pkgver=${RTX_VERSION#v}/" APKBUILD
Expand All @@ -30,8 +32,6 @@ git add APKBUILD
git checkout -b rtx
git commit -m "community/rtx: upgrade to ${RTX_VERSION#v}"

git remote add jdxcode "https://jdxcode:$GITLAB_TOKEN@gitlab.alpinelinux.org/jdxcode/aports.git"

if [ "$DRY_RUN" == 0 ]; then
git push jdxcode
fi
Expand Down

0 comments on commit 7a8dfc2

Please sign in to comment.