From feba795c2be647bdaf267d4b43a04b2770625443 Mon Sep 17 00:00:00 2001 From: Dmitry Frank Date: Tue, 6 Feb 2018 18:52:49 +0200 Subject: [PATCH] Update deb recipes for mos-tool repo PUBLISHED_FROM=fdd34ee974af4d209233ed8bce019134643f738e --- mos/ubuntu/build-deb.sh | 6 +++--- mos/ubuntu/mos-artful.recipe | 4 ++-- mos/ubuntu/mos-latest-artful.recipe | 4 ++-- mos/ubuntu/mos-latest-xenial.recipe | 4 ++-- mos/ubuntu/mos-xenial.recipe | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mos/ubuntu/build-deb.sh b/mos/ubuntu/build-deb.sh index 25a663a..9cb9493 100755 --- a/mos/ubuntu/build-deb.sh +++ b/mos/ubuntu/build-deb.sh @@ -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} diff --git a/mos/ubuntu/mos-artful.recipe b/mos/ubuntu/mos-artful.recipe index e00b96d..5be3e71 100644 --- a/mos/ubuntu/mos-artful.recipe +++ b/mos/ubuntu/mos-artful.recipe @@ -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 diff --git a/mos/ubuntu/mos-latest-artful.recipe b/mos/ubuntu/mos-latest-artful.recipe index bd87dbe..69c44cc 100644 --- a/mos/ubuntu/mos-latest-artful.recipe +++ b/mos/ubuntu/mos-latest-artful.recipe @@ -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 diff --git a/mos/ubuntu/mos-latest-xenial.recipe b/mos/ubuntu/mos-latest-xenial.recipe index 91f61db..3111083 100644 --- a/mos/ubuntu/mos-latest-xenial.recipe +++ b/mos/ubuntu/mos-latest-xenial.recipe @@ -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 diff --git a/mos/ubuntu/mos-xenial.recipe b/mos/ubuntu/mos-xenial.recipe index 1220aa4..0075209 100644 --- a/mos/ubuntu/mos-xenial.recipe +++ b/mos/ubuntu/mos-xenial.recipe @@ -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