Adds changelog

main
Drew Bednar 1 day ago
parent d2332179b3
commit 73d7064fc7

@ -65,7 +65,7 @@ package-name (version) distribution(s); urgency=level
-- Maintainer Name <maintainer@example.com> Day, dd Mon yyyy hh:mm:ss +zzzz -- Maintainer Name <maintainer@example.com> Day, dd Mon yyyy hh:mm:ss +zzzz
``` ```
The `devscripts` package installed earlier can assist in automating the change log changes, and ensure that they correctly formatted. The `devscripts` package installed earlier has the `dch`(debchange) tool that can assist in automating the change log changes, and ensure that they correctly formatted.
## Debian Versioning Scheme ## Debian Versioning Scheme
@ -103,6 +103,34 @@ Now create a `control` file under the `DEBIAN/` directory
touch ./dist/foo_0.1.0-1/DEBIAN/control touch ./dist/foo_0.1.0-1/DEBIAN/control
``` ```
```
Package: foo
Version: 0.1.0-1
Architecture: amd64
Maintainer: Your Name <youremail@example.com>
Description: foo - A Go Application
```
Now create a `changelog` file under the `DEBIAN/` directory.
```bash
touch ./dist/foo_0.1.0-1/DEBIAN/changelog
```
We will use the debchange tool `dch` to create the first entry in our file. Use `man dch` to learn more about all the options available to you for editing these entries.
```
dch --changelog ./dist/foo_0.1.0-1/DEBIAN/changelog --create
```
Since we did not set envvars for things like our package or maintainer email you will see warnings. Press enter to continue and you will drop into an text editor with a basic template.
```
```
Change the contents of this entry as needed.
``` ```
``` ```
Loading…
Cancel
Save