You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command runner is a feature that enables you to execute any shell command you want before or after a certain event. Right now, these are the events:
4
+
5
+
* Copy
6
+
* Rename
7
+
* Upload
8
+
* Delete
9
+
10
+
Also, during the execution of the commands set for those hooks, there will be some environment variables available to help you perform your commands:
11
+
12
+
*`FILE` with the full absolute path to the changed file.
13
+
*`SCOPE` with the path to user's scope.
14
+
*`USERNAME` with the user's username.
15
+
*`DESTINATION` with the absolute path to the destination. Only used for **copy** and **rename.**
16
+
17
+
At this moment, you can edit the commands via the command line interface, using the following commands \(please check the flag `--help` to know more about them\):
Copy file name to clipboardexpand all lines: contributing/ci-and-releases.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ We use semantic versioning. For more info check [semver.org](https://semver.org)
17
17
5. Revert the version to `untracked` and commit again.
18
18
3. When the tag is pushed, Travis will detect it and execute the following [procedures](https://github.com/filebrowser/filebrowser/blob/master/.travis.yml):
19
19
1. Run through the linters to check if the code is alright.
20
-
2. Build the frontend and the backend, generating `rice-box.go`\`.
20
+
2. Build the frontend and the backend, generating `rice-box.go`.
21
21
* If the commit **is not** tagged, we will push the latest `filebrowser/filebrowser` docker image to [hub.docker.com/r/filebrowser/filebrowser](https://hub.docker.com/r/filebrowser/filebrowser/).
22
22
3. If the commit **is** tagged, then:
23
23
1. Build the release artifacts for all supported platforms and a new docker image \(see [`.goreleaser.yml`](https://github.com/filebrowser/filebrowser/blob/master/.goreleaser.yml) for more information\).
0 commit comments