summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordx-mon2020-10-23 18:09:08 +0100
committerdx-mon2020-10-23 18:09:08 +0100
commit62db90e81e4d146142de041224c0b855d0b666d8 (patch)
tree1c5fd44a2e09ae806077323728fe27f9cc70372c
parentf34b6e59dd1c98b47eecfb752914debcc6b512cc (diff)
downloadaur-62db90e81e4d146142de041224c0b855d0b666d8.tar.gz
Removed `updatePackage` as it now lives in the meta-repo
-rwxr-xr-xupdatePackage65
1 files changed, 0 insertions, 65 deletions
diff --git a/updatePackage b/updatePackage
deleted file mode 100755
index 4e160ed52d6..00000000000
--- a/updatePackage
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-_update()
-{
- cd kicad
- git fetch
- cd ../kicad-i18n
- git fetch
- cd ..
-}
-
-_kicadRawVersion()
-{
- cd kicad
- git describe --tag
- cd ..
-}
-
-_kicadVersion()
-{
- _kicadRawVersion | sed 's/-/_/g'
-}
-
-_kicadHash()
-{
- cd kicad
- git rev-parse --short master
- cd ..
-}
-
-_i18nHash()
-{
- cd kicad-i18n
- git rev-parse --short master
- cd ..
-}
-
-_buildPKGBUILD()
-{
- kicadVersion=`_kicadVersion`
-
- sed -e "s/@KICAD_VERSION@/$kicadVersion/" \
- -e "s/@KICAD_HASH@/$(_kicadHash)/" \
- -e "s/@I18N_HASH@/$(_i18nHash)/" \
- PKGBUILD.in > PKGBUILD
-
- sed -e "s/@KICAD_VERSION@/$kicadVersion/" \
- kicad-library-nightly/PKGBUILD.in > kicad-library-nightly/PKGBUILD.part
-}
-
-_updateSRCINFO()
-{
- makepkg --printsrcinfo > .SRCINFO
-}
-
-_update
-_buildPKGBUILD
-_updateSRCINFO
-version=`_kicadRawVersion`
-
-(cd kicad-library-nightly && ./updatePackage)
-
-git add PKGBUILD .SRCINFO
-git commit -m "Bump to KiCAD $version"
-echo $version