feat(ci): lint makefile
This commit is contained in:
parent
00fdc5e81a
commit
044f98777b
18
Makefile
18
Makefile
@ -1,20 +1,20 @@
|
|||||||
.PHONY: latest-release
|
.PHONY: latest-release
|
||||||
latest-release:
|
latest-release:
|
||||||
gh release list | head -n 1 | awk '{print $1}'
|
gh release list | head -n 1 | awk '{print $1}'
|
||||||
|
|
||||||
.PHONY: show-latest-release
|
.PHONY: show-latest-release
|
||||||
show-latest-release:
|
show-latest-release:
|
||||||
gh release view `gh release list | head -n 1 | awk '{print $1}'`
|
gh release view `gh release list | head -n 1 | awk '{print $1}'`
|
||||||
|
|
||||||
.PHONY: recalculate-ipfs
|
.PHONY: recalculate-ipfs
|
||||||
recalculate-ipfs:
|
recalculate-ipfs:
|
||||||
echo "ipfs hash inside the image"
|
echo "ipfs hash inside the image"
|
||||||
docker run --rm ${TAG} cat /ipfs-hash
|
docker run --rm ${TAG} cat /ipfs-hash
|
||||||
echo "recalculating ipfs hash"
|
echo "recalculating ipfs hash"
|
||||||
docker run --rm ${TAG} ipfs add -rw /usr/share/nginx/html
|
docker run --rm ${TAG} ipfs add -rw /usr/share/nginx/html
|
||||||
|
|
||||||
.PHONY: eject-ipfs-hash
|
.PHONY: eject-ipfs-hash
|
||||||
unpack:
|
unpack:
|
||||||
docker create --name=dist ${TAG}
|
docker create --name=dist ${TAG}
|
||||||
docker cp dist:/usr/share/nginx/html dist
|
docker cp dist:/usr/share/nginx/html dist
|
||||||
docker rm dist
|
docker rm dist
|
||||||
|
Loading…
Reference in New Issue
Block a user