mirror of
https://github.com/minio/docs.git
synced 2025-06-16 01:41:48 +03:00
Improve makefile for syncing MinIO Server version
This commit is contained in:
2
Makefile
2
Makefile
@ -41,6 +41,8 @@ sync-minio-version:
|
|||||||
@sed -i "s|DEBURL|${DEB}|g" source/conf.py
|
@sed -i "s|DEBURL|${DEB}|g" source/conf.py
|
||||||
@sed -i "s|RPMURL|${RPM}|g" source/conf.py
|
@sed -i "s|RPMURL|${RPM}|g" source/conf.py
|
||||||
|
|
||||||
|
@git add source/conf.py && git commit -m "Updating MinIO server to ${MINIO}"
|
||||||
|
|
||||||
sync-java-docs:
|
sync-java-docs:
|
||||||
@echo "Retrieving Java docs from github.com/minio/minio-java"
|
@echo "Retrieving Java docs from github.com/minio/minio-java"
|
||||||
@$(eval LATEST = $(shell wget -q https://api.github.com/repos/minio/minio-java/releases/latest -O - | jq -r '.tag_name'))
|
@$(eval LATEST = $(shell wget -q https://api.github.com/repos/minio/minio-java/releases/latest -O - | jq -r '.tag_name'))
|
||||||
|
Reference in New Issue
Block a user