fix: snap build failure (#1177)

This commit is contained in:
Alan Pope 2020-05-07 01:29:09 +01:00 committed by GitHub
parent 108193103d
commit ee63a4fa32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ parts:
plugin: rust
source: https://github.com/starship/starship.git
#source-tag: v$SNAPCRAFT_PROJECT_VERSION
build-packages:
- libssl-dev
- pkg-config
override-build: |
last_committed_tag="$(git describe --tags --abbrev=0)"
last_committed_tag_ver="$(echo ${last_committed_tag} | sed 's/v//')"