Compare commits

..

No commits in common. "dev" and "0.0.1" have entirely different histories.
dev ... 0.0.1

7 changed files with 22 additions and 16 deletions

View File

@ -6,16 +6,15 @@ showHelp() {
echo "arch-pkg-builder [args] command [args]" echo "arch-pkg-builder [args] command [args]"
echo "" echo ""
echo "command :" echo "command :"
echo " list List packages infos" echo " list List packages infos"
echo " infos pkgname Display package infos" echo " infos pkgname Display package infos"
echo " create pkgname modelname Display package infos" echo " build pkgname Build and publish package"
echo " build pkgname Build and publish package" echo " bump pkgname Bump release and publish package"
echo " bump pkgname Bump release and publish package" echo " checkupdate pkgname Check package update"
echo " checkupdate pkgname Check package update" echo " checkupdateall Check all packages update"
echo " checkupdateall Check all packages update" echo " update pkgname Update package"
echo " update pkgname Update package" echo " updateall Update all packages"
echo " updateall Update all packages" echo " pushtoaur pkgname Push package to AUR"
echo " pushtoaur pkgname Push package to AUR"
echo "" echo ""
echo "args :" echo "args :"
echo " --cnf configfile" echo " --cnf configfile"

View File

@ -16,6 +16,13 @@ if [ "${VERSION}" == "" ]; then
exit 1 exit 1
fi fi
ssh -T git@github.com
if [ ! "${?}" = "1" ]; then
echo "No Github ssh key loaded exiting..."
exit 1
fi
CURRENTBRANCH=$(git rev-parse --abbrev-ref HEAD) CURRENTBRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ ! "${CURRENTBRANCH}" == "dev" ]; then if [ ! "${CURRENTBRANCH}" == "dev" ]; then

View File

@ -10,7 +10,7 @@ license=('GPL3')
#depends=() #depends=()
#makedepends=() #makedepends=()
#optdepends=() #optdepends=()
#source=("${pkgname}-${pkgrel}.tar.gz::git+https://url.git") #source=("${pkgname}::git+https://url.git")
#md5sums=('SKIP') #md5sums=('SKIP')
#backup=() #backup=()

View File

@ -18,7 +18,7 @@ url="${_giteaurl}/${_giteauser}/${_gitearepo}"
#install="${pkgname}.install" #install="${pkgname}.install"
#provides=() #provides=()
#backup=() #backup=()
source=("${_gitearepo}-${pkgrel}.tar.gz::${_giteaurl}/${_giteauser}/${_gitearepo}/archive/${_pkgtagname}.tar.gz") source=("${_gitearepo}::${_giteaurl}/${_giteauser}/${_gitearepo}/archive/${_pkgtagname}.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {

View File

@ -17,8 +17,8 @@ url="https://github.com/${_githubuser}/${_githubrepo}"
#install="${pkgname}.install" #install="${pkgname}.install"
#provides=() #provides=()
#backup=() #backup=()
#source=("${_githubrepo}-${pkgrel}.tar.gz::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz") #source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
#source=("${_githubrepo}-${pkgrel}.tar.gz::https://github.com/${_githubuser}/${_githubrepo}/releases/download/v${pkgver}/${_githubrepo}-${pkgver}.tar.gz") #source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/releases/download/v${pkgver}/${_githubrepo}-${pkgver}.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {

View File

@ -17,7 +17,7 @@ url="https://github.com/${_githubuser}/${_githubrepo}"
#install="${pkgname}.install" #install="${pkgname}.install"
#provides=() #provides=()
#backup=() #backup=()
source=("${_githubrepo}-${pkgrel}.tar.gz::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz") source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {

View File

@ -10,7 +10,7 @@ license=('GPL3')
#depends=() #depends=()
#makedepends=() #makedepends=()
#optdepends=() #optdepends=()
#source=("${pkgname}-${pkgrel}::git+https://url.git") #source=("${pkgname}::git+https://url.git")
#md5sums=('SKIP') #md5sums=('SKIP')
#backup=() #backup=()