Fixing arm build, adding autoupdate gitea workflow
This commit is contained in:
@@ -3,6 +3,7 @@ set -eu
|
||||
|
||||
ROOT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
|
||||
OUTDIR="${1:-$ROOT_DIR/dist}"
|
||||
RPM_TARGET="${RPM_TARGET:-x86_64}"
|
||||
|
||||
TOPDIR="$(mktemp -d)"
|
||||
cleanup() {
|
||||
@@ -26,6 +27,7 @@ cp "$ROOT_DIR/SPECS/element-desktop.spec" "$TOPDIR/SPECS/"
|
||||
cp "$ROOT_DIR/SOURCES/element-desktop.desktop" "$TOPDIR/SOURCES/"
|
||||
|
||||
rpmbuild -bs \
|
||||
--target "$RPM_TARGET" \
|
||||
--define "_topdir $TOPDIR" \
|
||||
--define "upstream_version $version" \
|
||||
"$TOPDIR/SPECS/element-desktop.spec"
|
||||
|
||||
Reference in New Issue
Block a user