[gnome-initial-setup] build: Add 'maintainer-upload-release' target
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] build: Add 'maintainer-upload-release' target
- Date: Sat, 15 Feb 2020 21:53:37 +0000 (UTC)
commit 88841fcdc10f35d3959cf50cccdce51471a34f30
Author: Will Thompson <will willthompson co uk>
Date: Sat Feb 15 21:53:13 2020 +0000
build: Add 'maintainer-upload-release' target
It's a start.
build-aux/maintainer-upload-release | 7 +++++++
build-aux/meson.build | 3 +++
meson.build | 1 +
3 files changed, 11 insertions(+)
---
diff --git a/build-aux/maintainer-upload-release b/build-aux/maintainer-upload-release
new file mode 100755
index 0000000..f533600
--- /dev/null
+++ b/build-aux/maintainer-upload-release
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+tarball="${1:?tarball filename is required}"
+cd "${MESON_BUILD_ROOT}/meson-dist"
+[[ -e "$tarball" ]]
+scp "$tarball" master.gnome.org:
+ssh master.gnome.org ftpadmin install "$tarball"
diff --git a/build-aux/meson.build b/build-aux/meson.build
new file mode 100644
index 0000000..04ce5de
--- /dev/null
+++ b/build-aux/meson.build
@@ -0,0 +1,3 @@
+run_target('maintainer-upload-release',
+ command: ['maintainer-upload-release',
+ '@0@-@1 tar xz'.format(meson.project_name(), meson.project_version())])
diff --git a/meson.build b/meson.build
index eba28f0..a8d9c82 100644
--- a/meson.build
+++ b/meson.build
@@ -84,3 +84,4 @@ config_h_dir = include_directories('.')
subdir('data')
subdir('gnome-initial-setup')
subdir('po')
+subdir('build-aux')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]