We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bbc5cf commit b8dc605Copy full SHA for b8dc605
pubspec.yaml
@@ -1,6 +1,6 @@
1
name: terrun
2
-description: A sample command-line application.
3
-version: 1.0.0
+description: terrun - efficient terminal runner
+version: 0.0.1
4
repository: https://github.com/mikeborodin/menusc
5
6
environment:
scripts/release.sh
@@ -4,8 +4,11 @@ cd build
tar -czf terrun.tar.gz terrun
sha=`shasum -a 256 terrun.tar.gz | cut -d " " -f 1`
echo $sha
7
-version="v0.0.1"
+
8
9
cd ..
10
+versionNotSplitted=`awk '/version:/ {print $2}' pubspec.yaml | sed "s/[,']//g"`
11
+version=`awk -F+ '{print $1}' <<< "$versionNotSplitted"`
12
13
gh release create $version build/terrun.tar.gz --generate-notes
14
0 commit comments