Skip to content

Commit

Permalink
snap version
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Oct 30, 2024
1 parent af120d1 commit 3d3fc68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,19 @@ jobs:

- name: install snap
uses: samuelmeuli/action-snapcraft@v2

- name: Preparation snapcraft
run: |
sed -i'' -E "/^version:/s/'(\d.*)'/'$(git describe --always)'/" ./scripts/createSnap.sh
head -3 ./scripts/createSnap.sh
- name: Create snapcraft
run: |
pwd
ls
ls scripts
sed -i'' -E "/^version:/s/'(\d.*)'/'$(git describe --always)'/" ./scripts/createSnap.sh
head ./scripts/createSnap.sh
bash ./scripts/createSnap.sh
mv librecad*.snap LibreCAD-`git describe --always`.snap
Expand Down
5 changes: 3 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: librecad
version: '2.2.1-rc'
version: '2.2.1-rc3'
grade: stable
base: core22
confinement: strict
Expand All @@ -13,10 +13,11 @@ description: |
https://www.github.com/LibreCAD/LibreCAD
environment:
LD_LIBRARY_PATH: $SNAP/usr/local/lib/:$SNAP/usr/lib/x86_64-linux-gnu/:$SNAP/usr/lib64/:$LD_LIBRARY_PATH
QT_QPA_PLATFORMTHEME: gtk3

apps:
librecad:
command: usr/bin/librecad
command: desktop-launch usr/bin/librecad
parts:
librecad:
plugin: qmake
Expand Down

0 comments on commit 3d3fc68

Please sign in to comment.