1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 01:04:00 +00:00

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

View File

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