Skip to content

Commit

Permalink
Another try to fix version in Snap build
Browse files Browse the repository at this point in the history
  • Loading branch information
mapitman committed Dec 1, 2024
1 parent 31bfdb4 commit fad6425
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ parts:
mdview:
override-pull: |
craftctl default
craftctl set VERSION=$(git describe --tags | sed 's/-.*//')
craftctl set version=$(git describe --tags | sed 's/-.*//')
plugin: go
source: .
source-type: git
environment:
VERSION: $(git describe --tags | sed 's/-.*//')
build-snaps:
- go
architectures:
Expand Down

0 comments on commit fad6425

Please sign in to comment.