Skip to content

Commit

Permalink
samba: fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaDev committed Apr 14, 2024
1 parent 3744b04 commit 70005af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/samba/ci/latest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
version=$(curl -s "https://sources.debian.org/api/src/samba/" | jq '.versions[] | select(.suites[] | contains("bookworm-backports")).version')
version=$(curl -s "https://sources.debian.org/api/src/samba/" | jq '.versions[] | select(.suites[] | contains("bookworm-backports")).version' | sed 's/\"2://' | sed 's/+.*//')
printf "%s" "${version}"

0 comments on commit 70005af

Please sign in to comment.