mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Merge pull request #5013 from nextcloud/addLibCommit
add library commit hash for reproducable builds
This commit is contained in:
commit
74ab9a05d3
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ lastBuildTime=$(date --date="$(git log -1 --format=%ai $(git tag | grep dev | ta
|
|||
changelog=$(git log --after=$lastBuildTime --pretty=oneline --abbrev-commit)
|
||||
|
||||
echo "$changelog" > src/versionDev/fastlane/metadata/android/en-US/changelogs/$date.txt
|
||||
echo "library commit: $(curl https://api.github.com/repos/nextcloud/android-library/commits/master | jq .sha | sed s'/\"//g')" >> src/versionDev/fastlane/metadata/android/en-US/changelogs/$date.txt
|
||||
|
||||
git add build.gradle
|
||||
git add src/versionDev/fastlane/metadata/android/en-US/changelogs/$date.txt
|
||||
git commit -m "daily dev $date" -m "$changelog"
|
||||
|
|
Loading…
Reference in a new issue