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