mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
makefile: use shasum
This commit is contained in:
parent
0eadc0bd99
commit
875d4a27d0
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -282,7 +282,7 @@ install-dev-android: setup-go build-android
|
|||
@cp -r pb/protos/*.proto $(client_android_path)/protocol/src/main/proto
|
||||
@cp -r pkg/lib/pb/model/protos/*.proto $(client_android_path)/protocol/src/main/proto
|
||||
# Compute the SHA hash of lib.aar
|
||||
@$(eval hash := $$(shell sha1sum -b dist/android/lib.aar | cut -d' ' -f1))
|
||||
@$(eval hash := $$(shell shasum -b dist/android/lib.aar | cut -d' ' -f1))
|
||||
@echo "Version hash: ${hash}"
|
||||
# Update the gradle file with the new version
|
||||
@sed -i '' "s/version = '.*'/version = '${hash}'/g" $(client_android_path)/libs/build.gradle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue