File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,27 @@ jobs:
115115 "Release ${VERSION} for ${SERIES}."
116116 head -n 5 debian/changelog
117117
118+ - name : Create upstream orig tarball
119+ run : |
120+ set -eu
121+ # 3.0 (quilt) source format requires ../rdmatop_<upstream>.orig.tar.gz.
122+ # We synthesise one from the current source tree (which already
123+ # contains vendor/ and .cargo/ — Launchpad's builders need both for
124+ # offline cargo builds). debian/ and VCS metadata are excluded.
125+ PKG_DIR="rdmatop-${VERSION}"
126+ mkdir -p "/tmp/${PKG_DIR}"
127+ rsync -a \
128+ --exclude='.git' \
129+ --exclude='.github' \
130+ --exclude='debian' \
131+ --exclude='.cargo-home' \
132+ --exclude='target' \
133+ --exclude='out' \
134+ ./ "/tmp/${PKG_DIR}/"
135+ tar -czf "../rdmatop_${VERSION}.orig.tar.gz" -C /tmp "${PKG_DIR}"
136+ rm -rf "/tmp/${PKG_DIR}"
137+ ls -la ../rdmatop_*.orig.tar.gz
138+
118139 - name : Build source package
119140 run : |
120141 set -eu
You can’t perform that action at this time.
0 commit comments