Skip to content

Commit

Permalink
changes as per requirement
Browse files Browse the repository at this point in the history
1. Upgraded to core22
2. set the last tag as version
  • Loading branch information
soumyaDghosh authored Sep 30, 2023
1 parent 0dde9ba commit 6c04ed6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: zshgpt
summary: Power up your zsh with gpt
description: Power up your zsh with gpt.
grade: stable
confinement: devmode
base: core20
confinement: strict
base: core22
adopt-info: zshgpt
architectures:
- build-on: [arm64, armhf, amd64]
Expand All @@ -18,6 +18,5 @@ parts:
plugin: python
python-packages: [zshgpt]
override-pull: |
snapcraftctl pull
git -C /root/project describe --tags
snapcraftctl set-version $(git -C /root/project describe --tags)
craftctl default
craftctl set version=$(git describe --tags --abbrev=0 | cut -c 2-)

0 comments on commit 6c04ed6

Please sign in to comment.