Skip to content

Commit

Permalink
Fix git version command
Browse files Browse the repository at this point in the history
  • Loading branch information
jpm-canonical committed Jun 5, 2024
1 parent f792666 commit e687361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ parts:
scripts/checkout_submodules.py --shallow --platform linux
# prefix the snap version with the upstream tag, or fall back to the commit hash
UPSTREAM_VERSION=$(git describe --exact-match --tags 2> /dev/null || $(git rev-parse --short HEAD))
UPSTREAM_VERSION=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD)
craftctl set version=$UPSTREAM_VERSION+$PACKAGE_VERSION
chip-tool:
Expand Down

0 comments on commit e687361

Please sign in to comment.