Skip to content

Commit

Permalink
utils/upload_kalkun_deps_to_ppa.sh: fix uversionmangle & parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
tenzap committed Aug 19, 2023
1 parent e67d7bc commit 5b0ee13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/upload_kalkun_deps_to_ppa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if [ "$repo" = "kalkun" ]; then
if [ "a$CI" != "atrue" ]; then
# Case when this is run locally
if [ -z "$KALKUN_REPO_PATH" ]; then
echo -e "${RED}path to local kalkun repo not set. Set it with -k <path>${RESET}"
echo -e "${RED}path to local kalkun repo not set. Set it with -p <path>${RESET}"
exit 1
fi
git clone --depth 1 "file://$KALKUN_REPO_PATH" "$workdir/repo"
Expand Down Expand Up @@ -174,7 +174,7 @@ if [ "$repo" = "kalkun" ]; then
dch " debianization from package source repository at commit $LAST_D_COMMIT_HASH, dated $LAST_D_COMMIT_DATE_H."
gbp export-orig --no-pristine-tar --upstream-tree=TAG --upstream-tag="$REF_NAME" --compression=xz
else \
UVERSIONMANGLED=$(echo "${UVERSION}" | sed -e "s/-/~/g" -e "s/~dev/~~dev/")
UVERSIONMANGLED=$(echo "${UVERSION}" | sed -e "s/-/~/" -e "s/~dev/~~dev/")
gbp dch \
--new-version="${UVERSIONMANGLED}" \
--snapshot \
Expand Down

0 comments on commit 5b0ee13

Please sign in to comment.