# man > debrelease(1)

---
type: CommandReference
command: debrelease
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `debrelease` — upload package from current source tree using default uploader (dupload)
- `debrelease --dput` — use dput instead of dupload
- `debrelease -S` — upload source-only .changes file
- `debrelease --debs-dir /path` — look for .changes and .deb files in specified directory
- `debrelease --multi` — use multiarch .changes file (for dpkg-cross)
- `debrelease --help` — display help
- `debrelease --version` — display version and copyright
- `debrelease --no-conf` — skip configuration files

## Name

**debrelease** — a wrapper around dupload or dput

## Synopsis

`debrelease` [*debrelease options*] [*dupload/dput options*]

## Options

### Uploader selection

- `--dupload` — use dupload (default)
- `--dput` — use dput

### .changes file selection

- `-S` — upload source-only .changes file (if both source-only and arch-specific exist)
- `-a` — architecture-specific .changes file (see **dpkg-architecture(1)**)
- `-t` — GNU system type; affects .changes file search. If bare `-t` is given, it is passed to dupload as host-specifying option.
- `--multi` — use multiarch .changes file (pattern `package_version_*+*.changes`)

### Directory and file location

- `--debs-dir` *directory* — look for .changes and .deb files in *directory* (absolute or relative to source top)

### Directory name checking

- `--check-dirname-level` *N* — level of directory name checking (0=never, 1=only if changed directory, 2=always; default 1)
- `--check-dirname-regex` *regex* — Perl regex to match directory name; `PACKAGE` replaced by source package name (default: `PACKAGE(-.+)?`)

### Configuration

- `--no-conf`, `--noconf` — do not read configuration files (must be first option)
- `--help`, `-h` — display help and exit
- `--version` — display version and copyright and exit

## Configuration Variables

Configuration files `/etc/devscripts.conf` and `~/.devscripts` are sourced in order. Command-line options override file settings. Environment variables are ignored.

- `DEBRELEASE_UPLOADER` — set to `dupload` or `dput` (corresponds to `--dupload`/`--dput`)
- `DEBRELEASE_DEBS_DIR` — directory for .changes and .deb files (absolute or relative to source top; corresponds to `--debs-dir`)
- `DEVSCRIPTS_CHECK_DIRNAME_LEVEL` — see `--check-dirname-level`
- `DEVSCRIPTS_CHECK_DIRNAME_REGEX` — see `--check-dirname-regex`

## See Also

- [dput(1)](https://www.chedong.com/phpMan.php/man/dput/1/markdown)
- [dupload(1)](https://www.chedong.com/phpMan.php/man/dupload/1/markdown)
- [devscripts.conf(5)](https://www.chedong.com/phpMan.php/man/devscripts.conf/5/markdown)