Skip to content

Commit

Permalink
Update build-all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli authored Oct 31, 2024
1 parent e64948e commit de27bf6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,14 @@ jobs:
pwd
export LC_VERSION="'$(git describe --always)'"
echo "${LC_VERSION}"
sed -i'' -e "/^version:.*\([[:digit:]]+\(\.[[:digit:]]+\)+\).*/version: ${LC_VERSION}/" ./scripts/createSnap.sh
sed -i'' -E "s/^version\:.*\([[:digit:]]+\(\.[[:digit:]]+\)+\).*/version\: ${LC_VERSION}/" ./scripts/createSnap.sh
head -3 ./scripts/createSnap.sh
- name: install snap
uses: samuelmeuli/action-snapcraft@v2

- 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

0 comments on commit de27bf6

Please sign in to comment.