Skip to content

Commit

Permalink
ci(libremesh pullrequest): overwrite master Makefile, no template one
Browse files Browse the repository at this point in the history
  • Loading branch information
germanferrero committed May 20, 2020
1 parent 7cc1354 commit eb4fe08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 53 deletions.
50 changes: 0 additions & 50 deletions .ci/Makefile.temp

This file was deleted.

5 changes: 2 additions & 3 deletions .ci/send_pull_request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ get_repo(){

create_file() {
export SHASUM=$(sha256sum $TRAVIS_BUILD_DIR/lime-app-$TRAVIS_BRANCH.tar.gz | awk '{ print $1 }')
cat ../Makefile.temp | sed -e "s/\${i}/1/" \
| sed -e "s/\${version}/$TRAVIS_BRANCH/" \
| sed -e "s/\${hash}/$SHASUM/" > packages/lime-app/Makefile
sed -i -re "s/(PKG_VERSION:=).*/\1$TRAVIS_BRANCH/" packages/lime-app/Makefile
sed -i -re "s/(PKG_HASH:=).*/\1$SHASUM/" packages/lime-app/Makefile
}

commit_file() {
Expand Down

0 comments on commit eb4fe08

Please sign in to comment.