diff --git a/source.sh b/source.sh index 379fc66..422ac94 100644 --- a/source.sh +++ b/source.sh @@ -7,9 +7,8 @@ REPO="https://gitlab.com/EnumDev/stormfetch.git" # The prepare function is executed in the root of the temp directory # This function is used for downloading files and putting them into the correct location prepare() { - git clone "$REPO" "$BPM_SOURCE" + git clone --branch "${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE" cd "$BPM_SOURCE" - git checkout tags/"$BPM_PKG_VERSION" } # The build function is executed in the source directory