Merge pull request #2572 from elopio/snap-version

Prepare the version of the snap package for the release tags
This commit is contained in:
chriseth 2017-07-25 16:14:24 +02:00 committed by GitHub
commit 7ad42aeeaf

View File

@ -1,5 +1,6 @@
name: solc
version: master
version: develop
version-script: git describe --exact-match --tags 2> /dev/null || echo "develop"
summary: The Solidity Contract-Oriented Programming Language
description: |
Solidity is a contract-oriented, high-level language whose syntax is similar
@ -27,3 +28,8 @@ parts:
plugin: cmake
build-packages: [build-essential, libboost-all-dev]
stage-packages: [libicu55]
prepare: |
if git describe --exact-match --tags 2> /dev/null
then
echo -n > ../src/prerelease.txt
fi