Skip to content

Commit

Permalink
#2876 snap: try snapcraftctl set-version
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Jan 3, 2024
1 parent 5f7c37a commit 67ba064
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
@@ -1,6 +1,5 @@
name: qownnotes
version: git
version-script: cat src/version.h | sed "s/[^0-9,.]//g"
summary: Plain-text file markdown note taking with Nextcloud/ownCloud integration
grade: stable
confinement: strict
Expand Down Expand Up @@ -76,6 +75,7 @@ parts:
lrelease QOwnNotes.pro
# make -j $(nproc)
# make install
snapcraftctl set-version "$(cat version.h | sed 's/[^0-9,.]//g')"
cd ..
snapcraftctl build
build-packages:
Expand Down

0 comments on commit 67ba064

Please sign in to comment.