mirror of
https://github.com/containers/podman.git
synced 2025-10-15 02:06:42 +08:00
Makefile: include release-artifacts
target
The current release artifacts generation process is still fairly manual with a bunch of steps. This commit bundles them all into a single convenient Makefile target. The `clean-binaries` target ends up removing `bin/`. So, the artifact dir has been changed to `release/` instead of the current `bin/` to avoid breaking other Makefile targets. Related: https://github.com/containers/podman/issues/18215 Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
@ -241,16 +241,7 @@ spelled with complete minutiae.
|
||||
|
||||
```shell
|
||||
$ git checkout vX.Y.Z
|
||||
$ make podman-remote-release-darwin_amd64.zip \
|
||||
podman-remote-release-darwin_arm64.zip \
|
||||
podman-remote-release-windows_amd64.zip \
|
||||
podman-remote-static-linux_amd64 \
|
||||
podman-remote-static-linux_arm64
|
||||
$ mv podman-* bin/
|
||||
$ cd bin/
|
||||
$ tar -cvzf podman-remote-static-linux_amd64.tar.gz podman-remote-static-linux_amd64
|
||||
$ tar -cvzf podman-remote-static-linux_arm64.tar.gz podman-remote-static-linux_arm64
|
||||
$ sha256sum *.zip *.tar.gz > shasums
|
||||
$ make release-artifacts
|
||||
```
|
||||
|
||||
1. The `podman-vX.Y.Z.dmg` file is produced manually by someone in
|
||||
@ -267,9 +258,7 @@ spelled with complete minutiae.
|
||||
the release.
|
||||
1. Near the bottom of the page there is a box with the message
|
||||
“Add binaries by dropping them here or selecting them”. Use
|
||||
that to upload the artifacts you previously downloaded, including
|
||||
the `shasums` file.
|
||||
|
||||
that to upload the artifacts in the `release/` dir generated earlier:
|
||||
* podman-remote-release-darwin_amd64.zip
|
||||
* podman-remote-release-darwin_arm64.zip
|
||||
* podman-remote-release-windows_amd64.zip
|
||||
|
Reference in New Issue
Block a user