Skip to content

Commit

Permalink
fix: pr suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Imani Pelton <[email protected]>
  • Loading branch information
lengau and bepri authored Dec 20, 2024
1 parent c193cf7 commit 8fd6623
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 @@ -159,7 +159,7 @@ parts:
mkdir -p $CRAFT_PART_INSTALL/libexec/charmcraft
sed -i 's|#!/bin/sh|#!/snap/charmcraft/current/bin/python3|' $CRAFT_PART_INSTALL/bin/craftctl
version="$(uv pip show charmcraft|grep "Version:" | cut -d' ' -f2)"
version="$(uv pip show charmcraft | grep "Version:" | cut -d' ' -f2)"
/snap/snapcraft/current/libexec/snapcraft/craftctl set version="${version}"
[ -n "$(echo $version | grep "post")" ] && grade=devel || grade=stable
/snap/snapcraft/current/libexec/snapcraft/craftctl set grade="${grade}"
Expand Down

0 comments on commit 8fd6623

Please sign in to comment.