Update README and improve publishing script.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0482a50317
commit
b2a6054154
|
@ -32,6 +32,6 @@ sudo dpkg -i "mirror-server-${VERSION}_amd64.deb"
|
|||
* [x] Add mirroring of JSON request.
|
||||
* [x] Add logging to server.
|
||||
* [x] Create Docker image for mirror-server for easier distribution.
|
||||
* [ ] Add publishing of DEB and Docker image to DroneCI.
|
||||
* [x] Add publishing of DEB and Docker image to DroneCI.
|
||||
* [ ] Add documentation to the API.
|
||||
* [ ] Publish crate on <https://crates.io/>.
|
||||
|
|
|
@ -21,6 +21,8 @@ gitea_server="code.birch-tree.net"
|
|||
|
||||
curl --user "${USERNAME}:${PASSWORD}" \
|
||||
--upload-file "${pkg_full_path}" \
|
||||
--silent \
|
||||
-X PUT \
|
||||
"https://${gitea_server}/api/packages/${USERNAME}/generic/${pkg_name}/${pkg_version}/${pkg_filename}"
|
||||
|
||||
echo "Published ${pkg_name} v${pkg_version} ===> ${pkg_filename}"
|
||||
|
|
Loading…
Reference in New Issue