File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 3
3
```
4
4
pkger -r RELEASE.2021-01-08T19-38-39Z
5
5
```
6
+
7
+ ## Packaging minio during development (for testing, etc)
8
+
9
+ 1 . First install pkger so it is available in PATH.
10
+
11
+ 2 . Prepare the release directory, ` dist ` below:
12
+
13
+ ``` shell
14
+ mkdir -p ./dist/linux-amd64
15
+
16
+ # REPLACE THE TIMESTAMP AND THE GIT TAG!
17
+ VERSION=RELEASE.2025-03-12T00-00-00Z.debug.GIT_TAG
18
+
19
+ # Move the binary to the dist directory
20
+ mv ./minio ./dist/linux-amd64/minio.$VERSION
21
+ ```
22
+
23
+ 3 . Ensure minio.service exists:
24
+
25
+ ```
26
+ wget -O minio.service "https://raw.githubusercontent.com/minio/minio-service/refs/heads/master/linux-systemd/minio.service"
27
+ ```
28
+
29
+ 4 . Run pkger:
30
+
31
+ ``` shell
32
+ # Now run pkger.
33
+ pkger -r $VERSION --appName minio --ignore --releaseDir=dist
34
+ ```
35
+
36
+ 5 . `./dist will contain the packaged files (rpm, deb, etc).
You can’t perform that action at this time.
0 commit comments