Skip to content

Commit

Permalink
Revert "Update snap build to set version"
Browse files Browse the repository at this point in the history
This reverts commit 4b9afa6.
  • Loading branch information
mapitman committed Dec 1, 2024
1 parent c2f05af commit a338592
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}",
"env": {},
"args": ["README.md"]
"env": {"SNAP_USER_COMMON": "mark"},
"args": ["bad-perms.md"]
}
]
}
8 changes: 6 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ adopt-info: mdview
parts:
mdview:
override-pull: |
craftctl pull
craftctl set VERSION=$(git describe --tags | sed 's/-.*//')
craftctl default
craftctl set version=$(git describe --tags --abbrev=10)
plugin: go
source: .
source-type: git
# build-packages:
# - gcc
# - gcc-multilib
# - libblkid-dev
build-snaps:
- go
architectures:
Expand Down

0 comments on commit a338592

Please sign in to comment.