Skip to content

Commit

Permalink
Update deb recipes for mos-tool repo
Browse files Browse the repository at this point in the history
PUBLISHED_FROM=fdd34ee974af4d209233ed8bce019134643f738e
  • Loading branch information
dimonomid authored and cesantabot committed Feb 6, 2018
1 parent 505598e commit feba795
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions mos/ubuntu/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ fi

set -x -e

# Make sure the script is called from the mongoose-os repo
# Make sure the script is called from the mos-tool repo
ORIGIN="$(git --work-tree $(dirname 0) remote get-url origin)"
if ! [[ "${ORIGIN}" =~ mongoose-os(.git)?$ ]]; then
echo "You should run this script from mongoose-os repository, not from ${ORIGIN}"; exit 1;
if ! [[ "${ORIGIN}" =~ mos-tool(.git)?$ ]]; then
echo "You should run this script from mos-tool repository, not from ${ORIGIN}"; exit 1;
fi

IMAGE=docker.cesanta.com/ubuntu-golang:${DISTR}
Expand Down
4 changes: 2 additions & 2 deletions mos/ubuntu/mos-artful.recipe
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# git-build-recipe format 0.4 deb-version {latest-tag}+{git-commit}~artful0

# Build from local repo (volume-mount a clone of https://github.com/cesanta/mongoose-os.git to /src):
# Build from local repo (volume-mount a clone of https://github.com/cesanta/mos-tool.git to /src):
/src 1.11_CHANGE_ME
merge deb-release https://github.com/cesanta/mongoose-os.git deb-release
merge deb-release https://github.com/cesanta/mos-tool.git deb-release
run export GOPATH=$PWD && cd cesanta.com/mos && govendor sync -v
4 changes: 2 additions & 2 deletions mos/ubuntu/mos-latest-artful.recipe
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# git-build-recipe format 0.4 deb-version {revtime}+{git-commit}~artful0

# Build from local repo (volume-mount a clone of https://github.com/cesanta/mongoose-os.git to /src):
# Build from local repo (volume-mount a clone of https://github.com/cesanta/mos-tool.git to /src):
/src master
merge deb-latest https://github.com/cesanta/mongoose-os.git deb-latest
merge deb-latest https://github.com/cesanta/mos-tool.git deb-latest
run export GOPATH=$PWD && cd cesanta.com/mos && govendor sync -v
4 changes: 2 additions & 2 deletions mos/ubuntu/mos-latest-xenial.recipe
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# git-build-recipe format 0.4 deb-version {revtime}+{git-commit}~xenial0

# Build from local repo (volume-mount a clone of https://github.com/cesanta/mongoose-os.git to /src):
# Build from local repo (volume-mount a clone of https://github.com/cesanta/mos-tool.git to /src):
/src master
merge deb-latest https://github.com/cesanta/mongoose-os.git deb-latest
merge deb-latest https://github.com/cesanta/mos-tool.git deb-latest
run export GOPATH=$PWD && cd cesanta.com/mos && govendor sync -v
4 changes: 2 additions & 2 deletions mos/ubuntu/mos-xenial.recipe
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# git-build-recipe format 0.4 deb-version {latest-tag}+{git-commit}~xenial0

# Build from local repo (volume-mount a clone of https://github.com/cesanta/mongoose-os.git to /src):
# Build from local repo (volume-mount a clone of https://github.com/cesanta/mos-tool.git to /src):
/src 1.11_CHANGE_ME
merge deb-release https://github.com/cesanta/mongoose-os.git deb-release
merge deb-release https://github.com/cesanta/mos-tool.git deb-release
run export GOPATH=$PWD && cd cesanta.com/mos && govendor sync -v

0 comments on commit feba795

Please sign in to comment.