diff options
author | Leo Arias <leo.arias@canonical.com> | 2017-07-16 04:23:49 +0800 |
---|---|---|
committer | Leo Arias <leo.arias@canonical.com> | 2017-07-18 22:33:49 +0800 |
commit | 841fe4bf269523431ad314b10d068f42c7d97281 (patch) | |
tree | 2e765b3780d4d064c7d416978fc007f26085d92b /snap | |
parent | 37553dca9ae02b33d31c09323a84cc47f94b0176 (diff) | |
download | dexon-solidity-841fe4bf269523431ad314b10d068f42c7d97281.tar.gz dexon-solidity-841fe4bf269523431ad314b10d068f42c7d97281.tar.zst dexon-solidity-841fe4bf269523431ad314b10d068f42c7d97281.zip |
Prepare the version of the snap package for the release tags
Diffstat (limited to 'snap')
-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..df52a837 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 + touch ../src/prerelease.txt + fi |