diff options
-rw-r--r-- | snap/snapcraft.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f0f3310a..c9f67566 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 |