Skip to content
Snippets Groups Projects
Verified Commit f43e3adb authored by Xenhat Hex's avatar Xenhat Hex
Browse files

PKGBUILD: preserve current branch

parent e9cca363
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !57. Comments created here will be created in the context of that merge request.
...@@ -41,9 +41,7 @@ pkgver() { ...@@ -41,9 +41,7 @@ pkgver() {
prepare() { prepare() {
cd "${pkgname}" || exit 1 cd "${pkgname}" || exit 1
git fetch --prune git fetch --prune
git checkout main git checkout HEAD
git pull --autostash
git checkout "${AL_GIT_REVISION:-origin/main}"
} }
build() { build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment