2022-05-29 19:15:01 +02:00
|
|
|
---
|
|
|
|
slug: /releasing/
|
2023-05-31 14:04:14 +02:00
|
|
|
sidebar_position: 13
|
2022-05-29 19:15:01 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
# Releasing
|
2018-03-11 20:31:27 +02:00
|
|
|
|
2023-04-15 21:13:29 +02:00
|
|
|
The release process of Task is done with the help of [GoReleaser][goreleaser].
|
|
|
|
You can test the release process locally by calling the `test-release` task of
|
|
|
|
the Taskfile.
|
2018-03-11 20:31:27 +02:00
|
|
|
|
2020-05-03 01:13:01 +02:00
|
|
|
[GitHub Actions](https://github.com/go-task/task/actions) should release
|
2023-04-15 21:39:35 +02:00
|
|
|
artifacts automatically when a new Git tag is pushed to `main` branch (raw
|
|
|
|
executables and DEB and RPM packages).
|
2018-03-11 20:58:32 +02:00
|
|
|
|
2022-09-05 19:08:37 +02:00
|
|
|
Since v3.15.0, raw executables can also be reproduced and verified locally by
|
|
|
|
checking out a specific tag and calling `goreleaser build`, using the Go version
|
|
|
|
defined in the above GitHub Actions.
|
|
|
|
|
2018-03-11 20:58:32 +02:00
|
|
|
# Homebrew
|
|
|
|
|
2022-09-30 02:27:30 +02:00
|
|
|
Goreleaser will automatically push a new commit to the
|
|
|
|
[Formula/go-task.rb][gotaskrb] file in the [Homebrew tap][homebrewtap]
|
|
|
|
repository to release the new version.
|
|
|
|
|
|
|
|
# npm
|
|
|
|
|
|
|
|
To release to npm update the version in the [`package.json`][packagejson] file
|
|
|
|
and then run `task npm:publish` to push it.
|
2018-03-11 20:31:27 +02:00
|
|
|
|
|
|
|
# Snapcraft
|
|
|
|
|
2022-09-30 02:27:30 +02:00
|
|
|
The [snap package][snappackage] requires to manual steps to release a new
|
|
|
|
version:
|
2018-03-11 20:31:27 +02:00
|
|
|
|
2023-04-15 21:13:29 +02:00
|
|
|
- Updating the current version on [snapcraft.yaml][snapcraftyaml].
|
|
|
|
- Moving both `amd64`, `armhf` and `arm64` new artifacts to the stable channel
|
|
|
|
on the [Snapcraft dashboard][snapcraftdashboard].
|
2018-03-11 20:31:27 +02:00
|
|
|
|
2023-08-27 00:17:24 +02:00
|
|
|
# winget
|
|
|
|
|
|
|
|
winget also requires manual steps to be completed. By running
|
2023-11-30 04:17:32 +02:00
|
|
|
`task goreleaser:test` locally, manifest files will be generated on
|
2023-08-27 00:17:24 +02:00
|
|
|
`dist/winget/manifests/t/Task/Task/v{version}`.
|
|
|
|
[Upload the manifest directory into this fork](https://github.com/go-task/winget-pkgs/tree/master/manifests/t/Task/Task)
|
|
|
|
and open a pull request into
|
|
|
|
[this repository](https://github.com/microsoft/winget-pkgs).
|
|
|
|
|
2018-12-24 18:39:53 +02:00
|
|
|
# Scoop
|
|
|
|
|
2023-04-15 21:13:29 +02:00
|
|
|
Scoop is a command-line package manager for the Windows operating system. Scoop
|
|
|
|
package manifests are maintained by the community. Scoop owners usually take
|
|
|
|
care of updating versions there by editing
|
|
|
|
[this file](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json).
|
2018-12-24 18:39:53 +02:00
|
|
|
If you think its Task version is outdated, open an issue to let us know.
|
|
|
|
|
2022-01-13 01:15:04 +02:00
|
|
|
# Nix
|
|
|
|
|
2023-04-15 21:13:29 +02:00
|
|
|
Nix is a community owned installation method. Nix package maintainers usually
|
|
|
|
take care of updating versions there by editing
|
2022-01-13 15:39:38 +02:00
|
|
|
[this file](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/go-task/default.nix).
|
2022-01-13 01:15:04 +02:00
|
|
|
If you think its Task version is outdated, open an issue to let us know.
|
|
|
|
|
2023-04-15 21:13:29 +02:00
|
|
|
<!-- prettier-ignore-start -->
|
2022-05-29 19:15:01 +02:00
|
|
|
[goreleaser]: https://goreleaser.com/
|
2018-03-11 20:31:27 +02:00
|
|
|
[homebrewtap]: https://github.com/go-task/homebrew-tap
|
2023-09-15 02:45:25 +02:00
|
|
|
[gotaskrb]: https://github.com/go-task/homebrew-tap/blob/main/Formula/go-task.rb
|
2023-04-15 21:39:35 +02:00
|
|
|
[packagejson]: https://github.com/go-task/task/blob/main/package.json#L3
|
2018-03-11 20:31:27 +02:00
|
|
|
[snappackage]: https://github.com/go-task/snap
|
2023-09-15 02:45:25 +02:00
|
|
|
[snapcraftyaml]: https://github.com/go-task/snap/blob/main/snap/snapcraft.yaml#L2
|
2021-03-20 18:30:38 +02:00
|
|
|
[snapcraftdashboard]: https://snapcraft.io/task/releases
|
2023-04-15 21:13:29 +02:00
|
|
|
<!-- prettier-ignore-end -->
|