Skip to content

Commit

Permalink
Sample script to build packages for multiple distros
Browse files Browse the repository at this point in the history
  • Loading branch information
ayurchen committed Sep 28, 2023
1 parent 430b4ee commit c4f335a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packaging/build_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh -eu

# Resulting packages will be placed in the current working directory.
# Environment variables:
# GIT_BRANCH - which branch to build

GIT_BRANCH=${GIT_BRANCH:='master'}

DIRNAME=$(dirname $0)

BASE='centos:7' ${DIRNAME}/rpm/build.sh
BASE='rockylinux:8' ${DIRNAME}/rpm/build.sh

BASE='debian:stable' ${DIRNAME}/deb/build.sh
BASE='ubuntu:22.04' ${DIRNAME}/deb/build.sh

0 comments on commit c4f335a

Please sign in to comment.