Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Sep 16, 2024
1 parent 0c88c10 commit 22eb635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function get_release_version {

if git rev-parse --is-inside-work-tree &> /dev/null; then
# commit offset from latest version update in package.xml
offset="$(git rev-list --count "$(git log -n 1 --pretty=format:'%H' -G"<version>" package.xml)..HEAD")"
offset="$(git rev-list --count "$(git log -n 1 --pretty=format:'%H' -G"<version>" package.xml)"..HEAD)"
fi

echo "$version-$offset$DEB_DISTRO"
Expand Down

0 comments on commit 22eb635

Please sign in to comment.