2022-05-29 19:15:01 +02:00
|
|
|
---
|
|
|
|
slug: /releasing/
|
2022-12-19 21:51:22 +02:00
|
|
|
sidebar_position: 10
|
2022-05-29 19:15:01 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
# Releasing
|
2018-03-11 20:31:27 +02:00
|
|
|
|
2018-12-26 13:04:00 +02:00
|
|
|
The release process of Task is done with the help of
|
2018-03-11 20:31:27 +02:00
|
|
|
[GoReleaser][goreleaser]. You can test the release process locally by calling
|
|
|
|
the `test-release` task of the Taskfile.
|
|
|
|
|
2020-05-03 01:13:01 +02:00
|
|
|
[GitHub Actions](https://github.com/go-task/task/actions) should release
|
|
|
|
artifacts automatically when a new Git tag is pushed to master
|
|
|
|
(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
|
|
|
|
2022-07-04 16:49:15 +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
|
|
|
|
2018-12-24 18:39:53 +02:00
|
|
|
# Scoop
|
|
|
|
|
2022-08-16 12:33:54 +02:00
|
|
|
Scoop is a command-line package manager for the Windows operating system.
|
|
|
|
Scoop package manifests are maintained by the community.
|
2022-12-31 19:28:06 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
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
|
2018-03-11 20:58:32 +02:00
|
|
|
[gotaskrb]: https://github.com/go-task/homebrew-tap/blob/master/Formula/go-task.rb
|
2022-09-30 02:38:26 +02:00
|
|
|
[packagejson]: https://github.com/go-task/task/blob/master/package.json#L3
|
2018-03-11 20:31:27 +02:00
|
|
|
[snappackage]: https://github.com/go-task/snap
|
|
|
|
[snapcraftyaml]: https://github.com/go-task/snap/blob/master/snap/snapcraft.yaml#L2
|
2021-03-20 18:30:38 +02:00
|
|
|
[snapcraftdashboard]: https://snapcraft.io/task/releases
|