Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions Documentation/dev/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,9 @@ This will create a tarball named `tectonic.tar.gz` in the `bazel-bin` directory
tectonic
├── config.tf
├── examples
├── installer
├── modules
├── steps
└── tectonic-installer
├── darwin
│   ├── tectonic
│   ├── terraform
│   └── terraform-provider-matchbox
└── linux
├── tectonic
├── terraform
└── terraform-provider-matchbox
└── steps
```

In order to build a release tarball with the version string in the directory name within the tarball, export a `TECTONIC_VERSION` environment variable and then build the tarball while passing the variable to the build:
Expand All @@ -88,9 +80,9 @@ This will create a tarball named `tectonic.tar.gz` in the `bazel-bin` directory
tectonic_1.2.3-beta
├── config.tf
├── examples
├── installer
├── modules
├── steps
└── tectonic-installer
└── steps
```

*Note*: the generated tarball will not include the version string in its own name since output names must be known ahead of time in Bazel. To include the version in the tarball name, copy or move the archive with the desired name in the destination.
Expand Down