mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix APT builds - Readd tarball
This commit is contained in:
parent
d219dac36c
commit
9d23d9e2d6
3
.github/workflows/apt.yml
vendored
3
.github/workflows/apt.yml
vendored
@ -44,9 +44,11 @@ jobs:
|
|||||||
echo VERSION=${VERSION} >> $GITHUB_ENV
|
echo VERSION=${VERSION} >> $GITHUB_ENV
|
||||||
if [[ $VERSION == *"-"* ]]; then
|
if [[ $VERSION == *"-"* ]]; then
|
||||||
echo STANDARDS_VERSION=$(echo ${VERSION%-*}) >> $GITHUB_ENV
|
echo STANDARDS_VERSION=$(echo ${VERSION%-*}) >> $GITHUB_ENV
|
||||||
|
echo TARBALL_VERSION=$(echo ${VERSION%-*}) >> $GITHUB_ENV
|
||||||
echo DEBIAN_FORMAT='3.0 (quilt)' >> $GITHUB_ENV
|
echo DEBIAN_FORMAT='3.0 (quilt)' >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo STANDARDS_VERSION=$(echo ${VERSION%+*}) >> $GITHUB_ENV
|
echo STANDARDS_VERSION=$(echo ${VERSION%+*}) >> $GITHUB_ENV
|
||||||
|
echo TARBALL_VERSION=${VERSION}~$(echo ${{ matrix.distribution }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
echo DEBIAN_FORMAT='3.0 (native)' >> $GITHUB_ENV
|
echo DEBIAN_FORMAT='3.0 (native)' >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
echo DISTRIBUTION=$(echo ${{ matrix.distribution }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
echo DISTRIBUTION=$(echo ${{ matrix.distribution }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
@ -65,6 +67,7 @@ jobs:
|
|||||||
cp -fr LICENSE debian/copyright && \
|
cp -fr LICENSE debian/copyright && \
|
||||||
sed 's/@BUILD_DEPENDS@/${{ matrix.build-depends }}/g; s/@DEPENDS@/${{ matrix.package-depends }}/g; s/@ARCHITECTURE@/${{ matrix.architecture }}/g; s/@STANDARDS_VERSION@/${{ env.STANDARDS_VERSION }}/g' debian/control.in > debian/control && \
|
sed 's/@BUILD_DEPENDS@/${{ matrix.build-depends }}/g; s/@DEPENDS@/${{ matrix.package-depends }}/g; s/@ARCHITECTURE@/${{ matrix.architecture }}/g; s/@STANDARDS_VERSION@/${{ env.STANDARDS_VERSION }}/g' debian/control.in > debian/control && \
|
||||||
sed 's/@CMAKE_ENVIRONMENT@/${{ matrix.cmake-environment }}/g' debian/rules.in > debian/rules && \
|
sed 's/@CMAKE_ENVIRONMENT@/${{ matrix.cmake-environment }}/g' debian/rules.in > debian/rules && \
|
||||||
|
tar -cJf ../hyperion_${{ env.TARBALL_VERSION }}.orig.tar.xz . && \
|
||||||
debuild --no-lintian -uc -us && \
|
debuild --no-lintian -uc -us && \
|
||||||
cp ../hyperion_*.deb /deploy"
|
cp ../hyperion_*.deb /deploy"
|
||||||
|
|
||||||
|
3
.github/workflows/nightly.yml
vendored
3
.github/workflows/nightly.yml
vendored
@ -94,9 +94,11 @@ jobs:
|
|||||||
echo VERSION=${VERSION} >> $GITHUB_ENV
|
echo VERSION=${VERSION} >> $GITHUB_ENV
|
||||||
if [[ $VERSION == *"-"* ]]; then
|
if [[ $VERSION == *"-"* ]]; then
|
||||||
echo STANDARDS_VERSION=$(echo ${VERSION%-*}) >> $GITHUB_ENV
|
echo STANDARDS_VERSION=$(echo ${VERSION%-*}) >> $GITHUB_ENV
|
||||||
|
echo TARBALL_VERSION=$(echo ${VERSION%-*}) >> $GITHUB_ENV
|
||||||
echo DEBIAN_FORMAT='3.0 (quilt)' >> $GITHUB_ENV
|
echo DEBIAN_FORMAT='3.0 (quilt)' >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo STANDARDS_VERSION=$(echo ${VERSION%+*}) >> $GITHUB_ENV
|
echo STANDARDS_VERSION=$(echo ${VERSION%+*}) >> $GITHUB_ENV
|
||||||
|
echo TARBALL_VERSION=${VERSION}~$(echo ${{ matrix.distribution }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
echo DEBIAN_FORMAT='3.0 (native)' >> $GITHUB_ENV
|
echo DEBIAN_FORMAT='3.0 (native)' >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
echo DISTRIBUTION=$(echo ${{ matrix.distribution }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
echo DISTRIBUTION=$(echo ${{ matrix.distribution }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
@ -115,6 +117,7 @@ jobs:
|
|||||||
cp -fr LICENSE debian/copyright && \
|
cp -fr LICENSE debian/copyright && \
|
||||||
sed 's/@BUILD_DEPENDS@/${{ matrix.build-depends }}/g; s/@DEPENDS@/${{ matrix.package-depends }}/g; s/@ARCHITECTURE@/${{ matrix.architecture }}/g; s/@STANDARDS_VERSION@/${{ env.STANDARDS_VERSION }}/g' debian/control.in > debian/control && \
|
sed 's/@BUILD_DEPENDS@/${{ matrix.build-depends }}/g; s/@DEPENDS@/${{ matrix.package-depends }}/g; s/@ARCHITECTURE@/${{ matrix.architecture }}/g; s/@STANDARDS_VERSION@/${{ env.STANDARDS_VERSION }}/g' debian/control.in > debian/control && \
|
||||||
sed 's/@CMAKE_ENVIRONMENT@/${{ matrix.cmake-environment }}/g' debian/rules.in > debian/rules && \
|
sed 's/@CMAKE_ENVIRONMENT@/${{ matrix.cmake-environment }}/g' debian/rules.in > debian/rules && \
|
||||||
|
tar -cJf ../hyperion_${{ env.TARBALL_VERSION }}.orig.tar.xz . && \
|
||||||
debuild --no-lintian -uc -us && \
|
debuild --no-lintian -uc -us && \
|
||||||
cp ../hyperion_*.deb /deploy"
|
cp ../hyperion_*.deb /deploy"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user