File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- apt_src google-guest-agent
1+ version_orig=20250122.00
22version_suffix=gl0
3+
4+ workdir="$(mktemp -d)"
5+
6+ mkdir -p "$workdir/github.com/GoogleCloudPlatform"
7+ git clone --depth 1 --recurse-submodules --branch "${version_orig}" https://github.com/GoogleCloudPlatform/guest-agent.git "$workdir/github.com/GoogleCloudPlatform/guest-agent"
8+
9+ pushd "$workdir/github.com/GoogleCloudPlatform/guest-agent"
10+ cp -ar ./packaging/debian $workdir
11+ rm -rf ./packaging
12+ last_change_of_guest_agent="$(git log -1 --pretty="format:%aD" ./google_guest_agent)"
13+ popd
14+
15+ tee $workdir/debian/changelog << EOF
16+ google-guest-agent (1:${version_orig}-${version_suffix}) stable; urgency=medium
17+
18+ * Detailed changelog an be found at https://github.com/GoogleCloudPlatform/guest-agent/commits/${version_orig}
19+
20+ -- $maintainer <$email> $last_change_of_guest_agent
21+ EOF
22+
23+ import_src "$workdir"
24+
25+ rm -rf "$workdir"
You can’t perform that action at this time.
0 commit comments