Skip to content

Commit

Permalink
Update to version v1.21.2 (#416)
Browse files Browse the repository at this point in the history
Pin the versions to be used for gyp inside maestro and maestro-shell
instead of using master.

Pin the version of yp instead of using master.
  • Loading branch information
petedyerarm committed Jan 30, 2023
1 parent df8cee9 commit 1a5c7e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pelion-edge
base: core
version: "1.21.1"
version: "1.21.2"
summary: Pelion Edge
description: Pelion Edge
confinement: strict
Expand Down Expand Up @@ -358,6 +358,8 @@ parts:
export GOPATH=${SNAPCRAFT_PART_BUILD}/go
cd ${GOPATH}/src/github.com/armPelionEdge/maestro-shell/
# Build maestro-shell dependencies
# Pin the version of gyp.git to be used
sed -i -e "s,build/gyp,build/gyp\n cd build/gyp\n git checkout d6c5dd51dc3a60bf4ff32a5256713690a1a10376\n cd ../..,g" build-deps.sh
./build-deps.sh
# Build maestro-shell
go build github.com/armPelionEdge/maestro-shell
Expand All @@ -373,6 +375,7 @@ parts:
- GOFLAGS: "$GOFLAGS -modcacherw"
source: https://github.com/mikefarah/yq.git
go-importpath: github.com/mikefarah/yq
source-commit: 5911ab29297e530c69847cea591591cf36675a54
maestro:
plugin: go
source: https://github.com/armPelionEdge/maestro.git
Expand Down Expand Up @@ -400,6 +403,8 @@ parts:
export GOBIN=${GOPATH}/bin
cd ${GOPATH}/src/github.com/armPelionEdge/maestro/
# Build maestro dependencies
# Pin the version of gyp.git to be used
sed -i -e "s,build/gyp,build/gyp\n cd build/gyp\n git checkout d6c5dd51dc3a60bf4ff32a5256713690a1a10376\n cd ../..,g" build-deps.sh
DEBUG= ./build-deps.sh
# Build maestro
DEBUG= DEBUG2= ./build.sh
Expand Down

0 comments on commit 1a5c7e1

Please sign in to comment.