Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Permalink
Browse files
Drone CI testing
  • Loading branch information
hwittenborn committed May 1, 2021
1 parent 9caa292 commit 968c25c7d8f61da5dde083da5a8eba5e19fdc356
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
@@ -1,3 +1,4 @@
---
name: Build and Publish (Alpha Release)
kind: pipeline
type: docker
@@ -6,9 +7,7 @@ environment:
DPKG_FRONTEND: noninteractive
trigger:
branch:
include:
- stable
- alpha
- alpha
steps:
- name: build
image: ubuntu
17 scripts/build.sh 100644 → 100755
@@ -1,14 +1,21 @@
#!/usr/bin/env bash
set -e

# Set up PKGBUILD
echo "+ Setting up PKGBUILD"
{ envsubst < src/PKGBUILD; } > src/PKGBUILD

# Install needed packages
echo "+ Installing needed packages"
apt update
apt install sudo wget -y
apt install sudo wget gettext-base -y

# Set up PKGBUILD
echo "+ Setting up PKGBUILD"
if [[ "${release_type}" == "stable" ]]; then
export pkgname="mpm"
elif [[ "${release_type}" == "alpha" ]]; then
export pkgname="mpm-alpha"
fi

"$(envsubst < src/PKGBUILD)" > src/PKGBUILD


# Set up repository and install makedeb
echo "+ Setting up repository"

0 comments on commit 968c25c

Please sign in to comment.