Skip to content

Commit

Permalink
Update version number for stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes committed Nov 19, 2024
1 parent a4772ec commit c216923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ parts:
cd $CRAFT_PART_SRC
version_major=$(grep "set(PACKAGE_VERSION_MAJOR" CMakeLists.txt | tr -d '()"' | cut -d" " -f2)
version_minor=$(grep "set(PACKAGE_VERSION_MINOR" CMakeLists.txt | tr -d '()"' | cut -d" " -f2)
git_hash=$(git rev-parse --short=8 HEAD)
version="${version_major}.${version_minor}-g$git_hash"
version_patch=$(grep "set(PACKAGE_VERSION_PATCH" CMakeLists.txt | tr -d '()"' | cut -d" " -f2)
version="${version_major}.${version_minor}.{version_patch}"

This comment has been minimized.

Copy link
@adrianinsaval

adrianinsaval Nov 20, 2024

Member

missing $, it should be version="${version_major}.${version_minor}.${version_patch}"

craftctl set version="$version"
python-packages:
Expand Down

0 comments on commit c216923

Please sign in to comment.