summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdatePackage14
1 files changed, 12 insertions, 2 deletions
diff --git a/updatePackage b/updatePackage
index 62a64afbeb2..5abe619c871 100755
--- a/updatePackage
+++ b/updatePackage
@@ -9,13 +9,18 @@ _update()
cd ..
}
-_kicadVersion()
+_kicadRawVersion()
{
cd kicad
- git describe --tag | sed 's/-/_/g'
+ git describe --tag
cd ..
}
+_kicadVersion()
+{
+ _kicadRawVersion | sed 's/-/_/g'
+}
+
_kicadHash()
{
cd kicad
@@ -46,3 +51,8 @@ _updateSRCINFO()
_update
_buildPKGBUILD
_updateSRCINFO
+version=`_kicadRawVersion`
+
+git add PKGBUILD .SRCINFO
+git commit -m "Bump to KiCAD $version"
+echo $version