summaryrefslogtreecommitdiff
path: root/src/abslibre-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-xsrc/abslibre-tools/librestage6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage
index 63561f7..1bfb200 100755
--- a/src/abslibre-tools/librestage
+++ b/src/abslibre-tools/librestage
@@ -59,6 +59,11 @@ main() {
return 1
fi
+ if ! xbs status; then
+ error "There are uncommitted changes in the current directory"
+ return 1
+ fi
+
# Load configuration
load_files libretools
check_vars libretools WORKDIR ARCHES || return 1
@@ -82,6 +87,7 @@ main() {
canonical="" # is empty for the first iteration, set after that
for repo in "${repos[@]}"; do
+ xbs release "$repo" "$CARCH"
mkdir -p "${WORKDIR}/staging/${repo}"
if [[ -z $canonical ]]; then
canonical="${WORKDIR}/staging/${repo}/${pkgfile##*/}"