mirror of
https://github.com/wofferl/proxmox-backup-arm64
synced 2025-12-06 00:13:41 +00:00
append package changelog to the release notes
This commit is contained in:
2
PREBUILD.md → .github/PREBUILD.md
vendored
2
PREBUILD.md → .github/PREBUILD.md
vendored
@@ -4,4 +4,4 @@ The proxmox-backup*,promox-mini-journalreader and pve-xtermjs packages are cross
|
|||||||
|
|
||||||
Use at your own risk.
|
Use at your own risk.
|
||||||
|
|
||||||
**Changelog**
|
**Official Changelog**
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -46,6 +46,8 @@ jobs:
|
|||||||
else
|
else
|
||||||
docker buildx build -o packages --build-arg buildoptions="cross github" --build-arg baseimage=${baseimage} --platform linux/amd64 -f .github/Dockerfile.crosscompile-arm64 .
|
docker buildx build -o packages --build-arg buildoptions="cross github" --build-arg baseimage=${baseimage} --platform linux/amd64 -f .github/Dockerfile.crosscompile-arm64 .
|
||||||
fi
|
fi
|
||||||
|
sudo apt -y install apt-listchanges
|
||||||
|
apt-listchanges --latest=1 -f text packages/proxmox-backup-server_*.deb | sed -e '/^\(apt-listchanges.*\|[-]\+\)$/d' >> .github/PREBUILD.md
|
||||||
echo "DEB_VERSION=$(dpkg --info packages/proxmox-backup-server_*.deb | sed -n '/Version/ s/[^:]\+: //p')" >> $GITHUB_ENV
|
echo "DEB_VERSION=$(dpkg --info packages/proxmox-backup-server_*.deb | sed -n '/Version/ s/[^:]\+: //p')" >> $GITHUB_ENV
|
||||||
echo "DEB_VERSION_UPSTREAM=$(dpkg --info packages/proxmox-backup-server_*.deb | sed -n '/Version/ s/[^:]\+: \([0-9.]\+\)-[0-9]/\1/p')" >> $GITHUB_ENV
|
echo "DEB_VERSION_UPSTREAM=$(dpkg --info packages/proxmox-backup-server_*.deb | sed -n '/Version/ s/[^:]\+: \([0-9.]\+\)-[0-9]/\1/p')" >> $GITHUB_ENV
|
||||||
- name: Test packages
|
- name: Test packages
|
||||||
@@ -57,7 +59,7 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "packages/*.deb"
|
artifacts: "packages/*.deb"
|
||||||
bodyFile: "PREBUILD.md"
|
bodyFile: ".github/PREBUILD.md"
|
||||||
tag: ${{ env.DEB_VERSION }}
|
tag: ${{ env.DEB_VERSION }}
|
||||||
name: Version ${{ env.DEB_VERSION }} (${{ env.DEB_DIST }})
|
name: Version ${{ env.DEB_VERSION }} (${{ env.DEB_DIST }})
|
||||||
draft: true
|
draft: true
|
||||||
|
|||||||
Reference in New Issue
Block a user